Re: [PATCH 24/26] combine __put_mountpoint() with unhash_mnt()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 10, 2025 at 09:21:46AM +0100, Al Viro wrote:
> 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.
> 
> Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
> ---

Reviewed-by: Christian Brauner <brauner@xxxxxxxxxx>




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux