]> Gentwo Git Trees - linux/.git/commit
btrfs: remove redundant path release when processing dentry during log replay
authorFilipe Manana <fdmanana@suse.com>
Mon, 1 Sep 2025 16:03:46 +0000 (17:03 +0100)
committerDavid Sterba <dsterba@suse.com>
Tue, 23 Sep 2025 06:49:20 +0000 (08:49 +0200)
commit9bdfa3eddb67e73f57d1e527e1ba2dcca3bd08c4
treeb0f4c173a3cab6e7e0197ae14f9417a826d05162
parentf366722f3370dd561d45e667484c458245977e79
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>
fs/btrfs/tree-log.c