commit | f657a666fd1b1b9fe59963943c74c245ae66f4cc | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Fri Feb 23 21:25:42 2018 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Thu Mar 29 15:07:44 2018 -0400 |
tree | cf01b5b08611520699f8425b24029f7076a6357a | |
parent | 62d9956cefe6ecc4b43a7fae37af78ba7adaceaa [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>