summaryrefslogtreecommitdiff
path: root/fs/ext4
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2023-10-13 00:14:22 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2023-11-25 10:53:20 +0300
commit7307b73fa5a82661808b5541972176c344978789 (patch)
treeca7a022a07f209e272848f5ae048e0b446d5a4db /fs/ext4
parent9d35cebb794bb7be93db76c3383979c7deacfef9 (diff)
downloadlinux-7307b73fa5a82661808b5541972176c344978789.tar.xz
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>
Diffstat (limited to 'fs/ext4')
0 files changed, 0 insertions, 0 deletions