diff options
author | Nikolay Borisov <nborisov@suse.com> | 2020-06-03 08:55:41 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-07-27 13:55:36 +0300 |
commit | 36ea6f3e931391c2adbb38af8c5dd4a043d26ac5 (patch) | |
tree | f8f79d2a1be47de1e934e241fa1a311343820a93 /fs/btrfs/delalloc-space.h | |
parent | 86d52921a2ba51a78e5bfb71c75aedcbd9e61a5c (diff) | |
download | linux-36ea6f3e931391c2adbb38af8c5dd4a043d26ac5.tar.xz |
btrfs: make btrfs_check_data_free_space take btrfs_inode
Instead of calling BTRFS_I on the passed vfs_inode take btrfs_inode
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 656807a8afa6..582ba26dbe6c 100644 --- a/fs/btrfs/delalloc-space.h +++ b/fs/btrfs/delalloc-space.h @@ -6,7 +6,7 @@ struct extent_changeset; int btrfs_alloc_data_chunk_ondemand(struct btrfs_inode *inode, u64 bytes); -int btrfs_check_data_free_space(struct inode *inode, +int btrfs_check_data_free_space(struct btrfs_inode *inode, struct extent_changeset **reserved, u64 start, u64 len); void btrfs_free_reserved_data_space(struct btrfs_inode *inode, struct extent_changeset *reserved, u64 start, u64 len); |