diff options
author | Nikolay Borisov <nborisov@suse.com> | 2017-02-20 14:50:42 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-02-28 13:30:07 +0300 |
commit | 691fa059673b3b33c25d7925acb0a58e8204dbd6 (patch) | |
tree | 1862cc21c43a68ede70fba801c908db94d86b68e /fs/btrfs/inode-map.c | |
parent | 9f3db423f98c5c6c53b47f4bb2729901500bc330 (diff) | |
download | linux-691fa059673b3b33c25d7925acb0a58e8204dbd6.tar.xz |
btrfs: all btrfs_delalloc_release_metadata take btrfs_inode
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/inode-map.c')
-rw-r--r-- | fs/btrfs/inode-map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/inode-map.c b/fs/btrfs/inode-map.c index 3bbb8f095953..5c6c20ec64d8 100644 --- a/fs/btrfs/inode-map.c +++ b/fs/btrfs/inode-map.c @@ -499,7 +499,7 @@ again: ret = btrfs_prealloc_file_range_trans(inode, trans, 0, 0, prealloc, prealloc, prealloc, &alloc_hint); if (ret) { - btrfs_delalloc_release_metadata(inode, prealloc); + btrfs_delalloc_release_metadata(BTRFS_I(inode), prealloc); goto out_put; } |