linux/fs/ext2
Jan Kara 7307b73fa5 ext2: Avoid reading renamed directory if parent does not change
The VFS will not be locking moved directory if its parent does not
change. Change ext2 rename code to avoid reading renamed directory if
its parent does not change. Although it is currently harmless it is a
bad practice to read directory contents without inode->i_rwsem.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2023-11-25 02:53:20 -05:00
..
acl.c ext2: convert to ctime accessor functions 2023-07-13 10:28:07 +02:00
acl.h fs: port ->set_acl() to pass mnt_idmap 2023-01-19 09:24:27 +01:00
balloc.c \n 2023-08-30 12:10:50 -07:00
dir.c \n 2023-11-02 08:19:51 -10:00
ext2.h ext2: Convert ext2_unlink() and ext2_rename() to use folios 2023-10-25 20:31:29 +02:00
file.c mm: remove enum page_entry_size 2023-08-24 16:20:30 -07:00
ialloc.c ext2: convert to new timestamp accessors 2023-10-18 13:26:21 +02:00
inode.c ext2: convert to new timestamp accessors 2023-10-18 13:26:21 +02:00
ioctl.c ext2: convert to ctime accessor functions 2023-07-13 10:28:07 +02:00
Kconfig fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
Makefile ext2: Add direct-io trace points 2023-05-16 11:32:42 +02:00
namei.c ext2: Avoid reading renamed directory if parent does not change 2023-11-25 02:53:20 -05:00
super.c vfs-6.7.fsid 2023-11-07 12:11:26 -08:00
symlink.c ext2: code cleanup by removing ifdef macro surrounding 2020-05-22 15:11:00 +02:00
trace.c ext2: Add direct-io trace points 2023-05-16 11:32:42 +02:00
trace.h ext2: Add direct-io trace points 2023-05-16 11:32:42 +02:00
xattr_security.c fs: port xattr to mnt_idmap 2023-01-19 09:24:28 +01:00
xattr_trusted.c fs: port xattr to mnt_idmap 2023-01-19 09:24:28 +01:00
xattr_user.c fs: port xattr to mnt_idmap 2023-01-19 09:24:28 +01:00
xattr.c ext2: move ext2_xattr_handlers and ext2_xattr_handler_map to .rodata 2023-10-09 16:24:18 +02:00
xattr.h ext2: move ext2_xattr_handlers and ext2_xattr_handler_map to .rodata 2023-10-09 16:24:18 +02:00