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 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | pivot_root(): reorder tree surgeries, collapse unhash_mnt() and put_mountpoint() (diff) | |
| download | linux-86f63980964b334ad49d5c1f132f3b9491303a15.tar.gz linux-86f63980964b334ad49d5c1f132f3b9491303a15.zip | |
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 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
