diff options
author | Jan Kara <[email protected]> | 2023-10-12 23:14:22 +0200 |
---|---|---|
committer | Al Viro <[email protected]> | 2023-11-25 02:53:20 -0500 |
commit | 7307b73fa5a82661808b5541972176c344978789 (patch) | |
tree | ca7a022a07f209e272848f5ae048e0b446d5a4db /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9d35cebb794bb7be93db76c3383979c7deacfef9 (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 <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions