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