From: David Sterba Date: Wed, 5 Feb 2014 01:11:25 +0000 (+0100) Subject: btrfs: clenaup: don't call btrfs_release_path before free_path X-Git-Tag: v5.15~16838^2~125 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c6f83c74fd647e8e31a9a42a76d895bce4a61a08;p=platform%2Fkernel%2Flinux-starfive.git btrfs: clenaup: don't call btrfs_release_path before free_path Signed-off-by: David Sterba Signed-off-by: Chris Mason --- diff --git a/fs/btrfs/relocation.c b/fs/btrfs/relocation.c index 65245a0..b3329ad 100644 --- a/fs/btrfs/relocation.c +++ b/fs/btrfs/relocation.c @@ -4096,7 +4096,6 @@ static int __insert_orphan_inode(struct btrfs_trans_handle *trans, btrfs_set_inode_flags(leaf, item, BTRFS_INODE_NOCOMPRESS | BTRFS_INODE_PREALLOC); btrfs_mark_buffer_dirty(leaf); - btrfs_release_path(path); out: btrfs_free_path(path); return ret;