]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: Remove redundant btrfs_release_path from btrfs_unlink_subvol
authorLu Fengqi <lufq.fnst@cn.fujitsu.com>
Wed, 1 Aug 2018 03:32:31 +0000 (11:32 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 6 Aug 2018 11:13:01 +0000 (13:13 +0200)
commit360fbd15bc034b0653c7cd4020b207f2e8dfe41b
tree15f98791854b5fc6bdda1ef5b980734083f008a5
parent9a68d21740273fdb318f80f534cfa84f584da851
btrfs: Remove redundant btrfs_release_path from btrfs_unlink_subvol

Although it is safe to call this on already released paths with no locks
held or extent buffers, removing the redundant btrfs_release_path is
reasonable.

Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c