Re: [PATCH] coda: change locking order in coda_file_write_iter()

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

 



On Mon, Nov 20, 2023 at 11:51:10AM +0200, Amir Goldstein wrote:
> The coda host file is a backing file for the coda inode on a different
> filesystem than the coda inode.
> 
> Change the locking order to take the coda inode lock before taking
> the backing host file freeze protection, same as in ovl_write_iter()
> and in network filesystems that use cachefiles.
> 
> Link: https://lore.kernel.org/r/CAOQ4uxjcnwuF1gMxe64WLODGA_MyAy8x-DtqkCUxqVQKk3Xbng@xxxxxxxxxxxxxx/
> Signed-off-by: Amir Goldstein <amir73il@xxxxxxxxx>

Acked-by: Jan Harkes <jaharkes@xxxxxxxxxx

Looks good, it makes sense to use the same lock ordering as the other
file systems. Thanks for pushing this along.

Jan




[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