diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2025-04-25 17:24:10 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2025-06-29 18:13:42 -0400 |
commit | 86f63980964b334ad49d5c1f132f3b9491303a15 (patch) | |
tree | 729da1ed821560b8753db4f6a5b4f4546425dd55 /scripts/lib/kdoc/kdoc_files.py | |
parent | e30da2a20e31ab958d41e5a2c764968d95f17b61 (diff) |
combine __put_mountpoint() with unhash_mnt()
A call of unhash_mnt() is immediately followed by passing its return
value to __put_mountpoint(); the shrink list given to __put_mountpoint()
will be ex_mountpoints when called from umount_mnt() and list when called
from mntput_no_expire().
Replace with __umount_mnt(mount, shrink_list), moving the call of
__put_mountpoint() into it (and returning nothing), adjust the
callers.
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions