linux/fs/f2fs
Linus Torvalds bf4e7080ae fix directory locking scheme on rename
broken in 6.5; we really can't lock two unrelated directories
 without holding ->s_vfs_rename_mutex first and in case of
 same-parent rename of a subdirectory 6.5 ends up doing just
 that.
 
 Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYIAB0WIQQqUNBr3gm4hGXdBJlZ7Krx/gZQ6wUCZZ+lyQAKCRBZ7Krx/gZQ
 60MWAP94hTqeMIpjhsUIkrTnylrIFaiw4UCWFJzIRG1QQYKqCgD/XUaWI9np7dL6
 0wR/j4CQSdJjiEFKUFE2pD3QoSuJYAQ=
 =+x0+
 -----END PGP SIGNATURE-----

Merge tag 'pull-rename' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs

Pull rename updates from Al Viro:
 "Fix directory locking scheme on rename

  This was broken in 6.5; we really can't lock two unrelated directories
  without holding ->s_vfs_rename_mutex first and in case of same-parent
  rename of a subdirectory 6.5 ends up doing just that"

* tag 'pull-rename' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
  rename(): avoid a deadlock in the case of parents having no common ancestor
  kill lock_two_inodes()
  rename(): fix the locking of subdirectories
  f2fs: Avoid reading renamed directory if parent does not change
  ext4: don't access the source subdirectory content on same-directory rename
  ext2: Avoid reading renamed directory if parent does not change
  udf_rename(): only access the child content on cross-directory rename
  ocfs2: Avoid touching renamed directory if parent does not change
  reiserfs: Avoid touching renamed directory if parent does not change
2024-01-11 20:00:22 -08:00
..
acl.c fs: port i_{g,u}id_into_vfs{g,u}id() to mnt_idmap 2023-01-19 09:24:29 +01:00
acl.h fs: port ->set_acl() to pass mnt_idmap 2023-01-19 09:24:27 +01:00
checkpoint.c f2fs: fix to account cp stats correctly 2023-08-14 13:42:05 -07:00
compress.c fs: convert error_remove_page to error_remove_folio 2023-12-10 16:51:42 -08:00
data.c block: remove support for the host aware zone model 2023-12-19 20:17:43 -07:00
debug.c f2fs: fix to account cp stats correctly 2023-08-14 13:42:05 -07:00
dir.c f2fs: convert to new timestamp accessors 2023-10-18 13:26:22 +02:00
extent_cache.c f2fs: split initial and dynamic conditions for extent_cache 2023-09-12 13:49:33 -07:00
f2fs.h vfs-6.7.ctime 2023-10-30 09:47:13 -10:00
file.c bdev: rename freeze and thaw helpers 2023-11-18 14:59:23 +01:00
gc.c f2fs update for 6.6-rc1 2023-09-02 15:37:59 -07:00
gc.h f2fs: Fix system crash due to lack of free space in LFS 2023-04-10 10:58:45 -07:00
hash.c f2fs: don't use casefolded comparison for "." and ".." 2022-05-17 11:19:23 -07:00
inline.c f2fs: convert to new timestamp accessors 2023-10-18 13:26:22 +02:00
inode.c fs: convert error_remove_page to error_remove_folio 2023-12-10 16:51:42 -08:00
iostat.c f2fs: add async reset zone command support 2023-06-12 13:04:09 -07:00
iostat.h f2fs: use iostat_lat_type directly as a parameter in the iostat_update_and_unbind_ctx() 2023-02-07 10:39:28 -08:00
Kconfig fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
Makefile f2fs: separate out iostat feature 2021-08-23 10:25:51 -07:00
namei.c f2fs: Avoid reading renamed directory if parent does not change 2023-11-25 02:53:20 -05:00
node.c f2fs: fix error handling of __get_node_page 2023-10-19 18:21:26 -07:00
node.h f2fs: fix compile warning in f2fs_destroy_node_manager() 2023-06-30 16:38:27 -07:00
recovery.c f2fs: convert to new timestamp accessors 2023-10-18 13:26:22 +02:00
segment.c f2fs: clean up zones when not successfully unmounted 2023-10-16 12:51:32 -07:00
segment.h f2fs: Clean up errors in segment.h 2023-10-16 12:51:37 -07:00
shrinker.c f2fs: add block_age-based extent cache 2022-12-12 14:53:56 -08:00
super.c for-6.8/block-2024-01-08 2024-01-11 13:58:04 -08:00
sysfs.c f2fs: fix to account cp stats correctly 2023-08-14 13:42:05 -07:00
verity.c f2fs-for-6.3-rc1 2023-02-27 16:18:51 -08:00
xattr.c f2fs update for 6.7-rc1 2023-11-04 09:26:23 -10:00
xattr.h f2fs: move f2fs_xattr_handlers and f2fs_xattr_handler_map to .rodata 2023-10-09 16:24:18 +02:00