diff options
author | Amir Goldstein <[email protected]> | 2023-11-22 14:27:08 +0200 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2023-11-24 09:22:28 +0100 |
commit | e389b76a7ee1b62392ab52c22f9ba81f23145824 (patch) | |
tree | 613fced889982825013473b29d2a7c011cc2b6ce /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 2f4d8ad82511a336f8a805e3759c5189a25bb286 (diff) |
coda: change locking order in coda_file_write_iter()
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@mail.gmail.com/
Acked-by: Jan Harkes <[email protected]>
Signed-off-by: Amir Goldstein <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Josef Bacik <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions