d_delete(): get rid of trylock loop
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 24 Feb 2018 02:02:31 +0000 (21:02 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 12 Mar 2018 15:59:14 +0000 (11:59 -0400)
commitc19457f0aed7fae73bb40e68ffcc72f36e3966a5
treed2fc8be41a6fb201d6038c6ce6f3180ad3d81ad0
parentc1d0c1a2b51e86124b7ba8ff9054698e2036d8e7
d_delete(): get rid of trylock loop

just grab ->i_lock first; we have a positive dentry, nothing's going
to happen to inode

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/dcache.c