mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
fold the call of retain_dentry() into fast_dput()
Calls of retain_dentry() happen immediately after getting false from fast_dput() and getting true from retain_dentry() is treated the same way as non-zero refcount would be treated by fast_dput() - unlock dentry and bugger off. Doing that in fast_dput() itself is simpler. Reviewed-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
2f42f1eb90
commit
f05441c7e1
1 changed files with 4 additions and 9 deletions
13
fs/dcache.c
13
fs/dcache.c
Loading…
Add table
Add a link
Reference in a new issue