diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2023-10-30 00:11:58 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2023-11-25 02:33:42 -0500 |
commit | 15f23734a1def3b22ba790bbf9f0d01949aae231 (patch) | |
tree | 6e92c3a066ecdc4ad2099fb0a8a5f27402f004cf /scripts/gdb/linux/lists.py | |
parent | 504e08cebe1d4e1efe25f915234f646e74a364a8 (diff) |
fast_dput(): new rules for refcount
By now there is only one place in entire fast_dput() where we return
false; that happens after refcount had been decremented and found (under
->d_lock) to be zero. In that case, just prior to returning false to
caller, fast_dput() forcibly changes the refcount from 0 to 1.
Lift that resetting refcount to 1 into the callers; later in the series
it will be massaged out of existence.
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions