diff options
author | Nikolay Borisov <nborisov@suse.com> | 2017-02-20 13:50:42 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-02-28 11:30:07 +0100 |
commit | 691fa059673b3b33c25d7925acb0a58e8204dbd6 (patch) | |
tree | 1862cc21c43a68ede70fba801c908db94d86b68e /fs/btrfs/free-space-cache.c | |
parent | 9f3db423f98c5c6c53b47f4bb2729901500bc330 (diff) | |
download | linux-691fa059673b3b33c25d7925acb0a58e8204dbd6.tar.gz |
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/free-space-cache.c')
-rw-r--r-- | fs/btrfs/free-space-cache.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/btrfs/free-space-cache.c b/fs/btrfs/free-space-cache.c index c0f313cbbbf2..7dcf0b100dcd 100644 --- a/fs/btrfs/free-space-cache.c +++ b/fs/btrfs/free-space-cache.c @@ -3545,7 +3545,8 @@ int btrfs_write_out_ino_cache(struct btrfs_root *root, if (ret) { if (release_metadata) - btrfs_delalloc_release_metadata(inode, inode->i_size); + btrfs_delalloc_release_metadata(BTRFS_I(inode), + inode->i_size); #ifdef DEBUG btrfs_err(fs_info, "failed to write free ino cache for root %llu", |