diff options
| author | Naohiro Aota <[email protected]> | 2025-04-23 02:43:42 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2025-05-15 12:30:52 +0000 |
| commit | 1c34e71966fa03df1581ff44ddc6dbb64cc4c440 (patch) | |
| tree | 3bb77bdd5428772744626949fc3b18d01261f011 /fs/btrfs/delalloc-space.h | |
| parent | btrfs: pass btrfs_space_info to btrfs_reserve_data_bytes() (diff) | |
| download | kernel-1c34e71966fa03df1581ff44ddc6dbb64cc4c440.tar.gz kernel-1c34e71966fa03df1581ff44ddc6dbb64cc4c440.zip | |
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 <[email protected]>
Signed-off-by: Naohiro Aota <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
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, |
