diff options
author | Nikolay Borisov <nborisov@suse.com> | 2020-06-03 08:55:38 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-07-27 13:55:35 +0300 |
commit | 9db5d510ac5bfeaedd1e05e6afa300dda1ea7f4f (patch) | |
tree | 536facf7b163bed67cca9a2598dc7faa1fca982f /fs/btrfs/delalloc-space.h | |
parent | 7661a3e033ab782366e0e1f4b6aad0df3555fcbd (diff) | |
download | linux-9db5d510ac5bfeaedd1e05e6afa300dda1ea7f4f.tar.xz |
btrfs: make btrfs_free_reserved_data_space_noquota take btrfs_fs_info
No point in taking an inode only to get btrfs_fs_info from it, instead
take btrfs_fs_info directly.
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/delalloc-space.h')
-rw-r--r-- | fs/btrfs/delalloc-space.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/delalloc-space.h b/fs/btrfs/delalloc-space.h index fe8c6aafb25b..bf3beec1b276 100644 --- a/fs/btrfs/delalloc-space.h +++ b/fs/btrfs/delalloc-space.h @@ -13,7 +13,7 @@ void btrfs_free_reserved_data_space(struct inode *inode, void btrfs_delalloc_release_space(struct inode *inode, struct extent_changeset *reserved, u64 start, u64 len, bool qgroup_free); -void btrfs_free_reserved_data_space_noquota(struct inode *inode, +void btrfs_free_reserved_data_space_noquota(struct btrfs_fs_info *fs_info, u64 len); void btrfs_delalloc_release_metadata(struct btrfs_inode *inode, u64 num_bytes, bool qgroup_free); |