diff options
author | Nikolay Borisov <nborisov@suse.com> | 2020-06-03 08:55:46 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-07-27 12:55:37 +0200 |
commit | cfdd45921571eb24073e0737fa0bd44b4218f914 (patch) | |
tree | a1e0c7038db08b68899533b4023a9bec8078022b /fs/btrfs/inode.c | |
parent | d90944141b4a7704fac7f2b8fcc566511176e4b4 (diff) | |
download | linux-cfdd45921571eb24073e0737fa0bd44b4218f914.tar.bz2 |
btrfs: make btrfs_qgroup_check_reserved_leak take btrfs_inode
vfs_inode is used only for the inode number everything else requires
btrfs_inode.
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ use btrfs_ino ]
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r-- | fs/btrfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 07dd8aa4f708..5d2ce8092531 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -8631,7 +8631,7 @@ void btrfs_destroy_inode(struct inode *inode) btrfs_put_ordered_extent(ordered); } } - btrfs_qgroup_check_reserved_leak(inode); + btrfs_qgroup_check_reserved_leak(BTRFS_I(inode)); inode_tree_del(inode); btrfs_drop_extent_cache(BTRFS_I(inode), 0, (u64)-1, 0); btrfs_inode_clear_file_extent_range(BTRFS_I(inode), 0, (u64)-1); |