summaryrefslogtreecommitdiff
path: root/fs/hugetlbfs
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2023-10-12 23:14:22 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2023-11-25 02:53:20 -0500
commit7307b73fa5a82661808b5541972176c344978789 (patch)
treeca7a022a07f209e272848f5ae048e0b446d5a4db /fs/hugetlbfs
parent9d35cebb794bb7be93db76c3383979c7deacfef9 (diff)
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/hugetlbfs')
0 files changed, 0 insertions, 0 deletions