diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2023-10-30 01:06:06 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2023-11-25 02:34:12 -0500 |
commit | c2e5e29f3fdaff6f57795be068ce525c60954fd0 (patch) | |
tree | e2b9208f66a15d5ed727d127e26444a1d7d2fb5d /scripts/gdb/linux/vfs.py | |
parent | 5e7a5c8d17d94216aed205cb0f20cd32adfd4487 (diff) |
to_shrink_list(): call only if refcount is 0
The only thing it does if refcount is not zero is d_lru_del(); no
point, IMO, seeing that plain dput() does nothing of that sort...
Note that 2 of 3 current callers are guaranteed that refcount is 0.
Acked-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'scripts/gdb/linux/vfs.py')
0 files changed, 0 insertions, 0 deletions