Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c6f83c74 authored by David Sterba's avatar David Sterba Committed by Chris Mason
Browse files

btrfs: clenaup: don't call btrfs_release_path before free_path



Signed-off-by: default avatarDavid Sterba <dsterba@suse.cz>
Signed-off-by: default avatarChris Mason <clm@fb.com>
parent 32471dc2
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -4096,7 +4096,6 @@ static int __insert_orphan_inode(struct btrfs_trans_handle *trans,
	btrfs_set_inode_flags(leaf, item, BTRFS_INODE_NOCOMPRESS |
	btrfs_set_inode_flags(leaf, item, BTRFS_INODE_NOCOMPRESS |
					  BTRFS_INODE_PREALLOC);
					  BTRFS_INODE_PREALLOC);
	btrfs_mark_buffer_dirty(leaf);
	btrfs_mark_buffer_dirty(leaf);
	btrfs_release_path(path);
out:
out:
	btrfs_free_path(path);
	btrfs_free_path(path);
	return ret;
	return ret;