aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/delalloc-space.h
diff options
context:
space:
mode:
authorNikolay Borisov2020-06-03 08:55:39 +0300
committerDavid Sterba2020-07-27 12:55:36 +0200
commit25ce28caaa1ddc2ef8848c5a09e63a9bc0a5d455 (patch)
treef1e871fddc033033e472c9a2f59fbfb9696abfde /fs/btrfs/delalloc-space.h
parent9db5d510ac5bfeaedd1e05e6afa300dda1ea7f4f (diff)
btrfs: make btrfs_free_reserved_data_space take btrfs_inode
It only uses btrfs_inode internally so take it as a parameter. 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/delalloc-space.h b/fs/btrfs/delalloc-space.h
index bf3beec1b276..57194275923d 100644
--- a/fs/btrfs/delalloc-space.h
+++ b/fs/btrfs/delalloc-space.h
@@ -8,7 +8,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,
struct extent_changeset **reserved, u64 start, u64 len);
-void btrfs_free_reserved_data_space(struct inode *inode,
+void btrfs_free_reserved_data_space(struct btrfs_inode *inode,
struct extent_changeset *reserved, u64 start, u64 len);
void btrfs_delalloc_release_space(struct inode *inode,
struct extent_changeset *reserved,