diff options
author | Naohiro Aota <naohiro.aota@wdc.com> | 2025-04-23 11:43:42 +0900 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2025-05-15 14:30:52 +0200 |
commit | 1c34e71966fa03df1581ff44ddc6dbb64cc4c440 (patch) | |
tree | 3bb77bdd5428772744626949fc3b18d01261f011 /fs/btrfs/delalloc-space.h | |
parent | 5d39fda880bed9acaaa0b31601008751e27aabc8 (diff) |
btrfs: pass struct btrfs_inode to btrfs_free_reserved_data_space_noquota()
As well as the last patch, pass struct btrfs_inode to the function and
let it distinguish which data space it is working on in a later patch.
There is no functional change with this commit.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Naohiro Aota <naohiro.aota@wdc.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 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/delalloc-space.h b/fs/btrfs/delalloc-space.h index 069005959479..6119c0d3f883 100644 --- a/fs/btrfs/delalloc-space.h +++ b/fs/btrfs/delalloc-space.h @@ -18,8 +18,7 @@ void btrfs_free_reserved_data_space(struct btrfs_inode *inode, void btrfs_delalloc_release_space(struct btrfs_inode *inode, struct extent_changeset *reserved, u64 start, u64 len, bool qgroup_free); -void btrfs_free_reserved_data_space_noquota(struct btrfs_fs_info *fs_info, - u64 len); +void btrfs_free_reserved_data_space_noquota(struct btrfs_inode *inode, u64 len); void btrfs_delalloc_release_metadata(struct btrfs_inode *inode, u64 num_bytes, bool qgroup_free); int btrfs_delalloc_reserve_space(struct btrfs_inode *inode, |