diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2023-10-17 21:55:42 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2023-11-25 10:53:20 +0300 |
commit | 40dbd071f4b19d9630353c3cd45c2d6adb6799d4 (patch) | |
tree | c0b9a64213f125315b57e67882ddbc32c08914dc /.rustfmt.toml | |
parent | 7307b73fa5a82661808b5541972176c344978789 (diff) | |
download | linux-40dbd071f4b19d9630353c3cd45c2d6adb6799d4.tar.xz |
ext4: don't access the source subdirectory content on same-directory rename
We can't really afford locking the source on same-directory rename;
currently vfs_rename() tries to do that, but it will have to be changed.
The logics in ext4 is lazy and goes looking for ".." in source even in
same-directory case. It's not hard to get rid of that, leaving that
behaviour only for cross-directory case; that VFS can get locks safely
(and will keep doing that after the coming changes).
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to '.rustfmt.toml')
0 files changed, 0 insertions, 0 deletions