diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2026-04-11 11:17:02 +0300 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2026-06-05 07:34:55 +0300 |
| commit | d197a9a6d44f23944d9096c5d955a7b1f75b0c89 (patch) | |
| tree | 801579ad50d4e9e25d4704324d08c5887f91775c /scripts/Makefile.thinlto | |
| parent | a5beeb64f22662a53facd71ca2843f9d649597d6 (diff) | |
| download | linux-d197a9a6d44f23944d9096c5d955a7b1f75b0c89.tar.xz | |
adjust calling conventions of lock_for_kill(), fold __dentry_kill() into dentry_kill()
Pull dropping ->d_lock on lock_for_kill() failure into lock_for_kill() itself.
That reduces dentry_kill() to
if (!lock_for_kill(dentry))
return NULL;
return __dentry_kill(dentry);
at which point it's easier to move that if (...) into the beginning of __dentry_kill()
itself and rename it into dentry_kill().
Document the new calling conventions of lock_for_kill().
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
