diff options
author | David Sterba <dsterba@suse.cz> | 2014-02-04 20:11:25 -0500 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-09-17 16:37:08 -0400 |
commit | c6f83c74fd647e8e31a9a42a76d895bce4a61a08 (patch) | |
tree | 8b0852c33a1399c768cdb79aa3332a1f27d16a0f | |
parent | 32471dc2ba287f0bb8ac9af65c46f089965191f2 (diff) |
btrfs: clenaup: don't call btrfs_release_path before free_path
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
-rw-r--r-- | fs/btrfs/relocation.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/relocation.c b/fs/btrfs/relocation.c index 65245a07275b..b3329ad34522 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, | |||
4096 | btrfs_set_inode_flags(leaf, item, BTRFS_INODE_NOCOMPRESS | | 4096 | btrfs_set_inode_flags(leaf, item, BTRFS_INODE_NOCOMPRESS | |
4097 | BTRFS_INODE_PREALLOC); | 4097 | BTRFS_INODE_PREALLOC); |
4098 | btrfs_mark_buffer_dirty(leaf); | 4098 | btrfs_mark_buffer_dirty(leaf); |
4099 | btrfs_release_path(path); | ||
4100 | out: | 4099 | out: |
4101 | btrfs_free_path(path); | 4100 | btrfs_free_path(path); |
4102 | return ret; | 4101 | return ret; |