mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 02:24:24 +02:00
btrfs: remove redundant path release when processing dentry during log replay
At replay_one_one() we have a redundant btrfs_release_path() just before calling insert_one_name(), as some lines above we have already released the path with another btrfs_release_path() call. So remove it. Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
f366722f33
commit
9bdfa3eddb
|
|
@ -2079,7 +2079,6 @@ static noinline int replay_one_name(struct walk_control *wc,
|
|||
update_size = false;
|
||||
goto out;
|
||||
}
|
||||
btrfs_release_path(path);
|
||||
ret = insert_one_name(trans, root, wc->log_key.objectid, wc->log_key.offset,
|
||||
&name, &log_key);
|
||||
if (ret && ret != -ENOENT && ret != -EEXIST) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user