summaryrefslogtreecommitdiff
path: root/fs/anon_inodes.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2018-02-23 21:25:42 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2018-03-29 15:07:44 -0400
commitf657a666fd1b1b9fe59963943c74c245ae66f4cc (patch)
treecf01b5b08611520699f8425b24029f7076a6357a /fs/anon_inodes.c
parent62d9956cefe6ecc4b43a7fae37af78ba7adaceaa (diff)
get rid of trylock loop around dentry_kill()
In case when trylock in there fails, deal with it directly in dentry_kill(). Note that in cases when we drop and retake ->d_lock, we need to recheck whether to retain the dentry. Another thing is that dropping/retaking ->d_lock might have ended up with negative dentry turning into positive; that, of course, can happen only once... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/anon_inodes.c')
0 files changed, 0 insertions, 0 deletions