diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2023-10-31 00:45:40 -0400 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2023-11-25 02:34:12 -0500 |
| commit | f05441c7e16e6a720cf24e08999661a76ff77478 (patch) | |
| tree | c191a098e9b91598907f384ca4d4e99f84243f47 /net/unix/unix_bpf.c | |
| parent | 2f42f1eb9093834b635991c70d0273fbe249eabf (diff) | |
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>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions
