diff options
author | Nikolay Borisov <nborisov@suse.com> | 2017-02-20 13:50:35 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-02-28 11:30:06 +0100 |
commit | 70ddc553b5522b96e65a162be1cecba532630841 (patch) | |
tree | 3d5440792a0c45fc698070ddd7c1e34e8b458b5e /fs/btrfs/file-item.c | |
parent | 6ef06d27903d9c15505dc1a3ccf424f5018562f7 (diff) | |
download | linux-70ddc553b5522b96e65a162be1cecba532630841.tar.gz linux-70ddc553b5522b96e65a162be1cecba532630841.tar.bz2 linux-70ddc553b5522b96e65a162be1cecba532630841.zip |
btrfs: make btrfs_is_free_space_inode take btrfs_inode
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/file-item.c')
-rw-r--r-- | fs/btrfs/file-item.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/file-item.c b/fs/btrfs/file-item.c index f7b9a92ad56d..a8a0dd217084 100644 --- a/fs/btrfs/file-item.c +++ b/fs/btrfs/file-item.c @@ -214,7 +214,7 @@ static int __btrfs_lookup_bio_sums(struct inode *inode, struct bio *bio, * read from the commit root and sidestep a nasty deadlock * between reading the free space cache and updating the csum tree. */ - if (btrfs_is_free_space_inode(inode)) { + if (btrfs_is_free_space_inode(BTRFS_I(inode))) { path->search_commit_root = 1; path->skip_locking = 1; } |