diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2023-10-17 14:44:23 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2023-11-25 02:53:20 -0500 |
commit | 9d35cebb794bb7be93db76c3383979c7deacfef9 (patch) | |
tree | 078819c682c3d64981694e5ad4a42355b86c5c8b /scripts/gdb/linux/stackdepot.py | |
parent | 9d618d19b29c2943527e3a43da0a35aea91062fc (diff) |
udf_rename(): only access the child content on cross-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 udf_rename() 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 'scripts/gdb/linux/stackdepot.py')
0 files changed, 0 insertions, 0 deletions