diff options
| author | Naohiro Aota <[email protected]> | 2024-11-14 08:04:28 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2025-01-13 13:53:14 +0000 |
| commit | 7de9ca1f30b7002a237e3119a8a4a54f26988b92 (patch) | |
| tree | c6e41f6fb8c3155667472011c36fa0fb5618f2c4 /fs/btrfs/inode.c | |
| parent | btrfs: factor out btrfs_return_free_space() (diff) | |
| download | kernel-7de9ca1f30b7002a237e3119a8a4a54f26988b92.tar.gz kernel-7de9ca1f30b7002a237e3119a8a4a54f26988b92.zip | |
btrfs: drop fs_info argument from btrfs_update_space_info_*()
Since commit e1e577aafe41 ("btrfs: store fs_info in space_info"), we have
the fs_info in a space_info. So, we can drop fs_info argument from
btrfs_update_space_info_*. There is no behavior change.
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/inode.c')
| -rw-r--r-- | fs/btrfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 27b2fe7f735d..283199d11642 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -1809,7 +1809,7 @@ static int fallback_to_cow(struct btrfs_inode *inode, bytes = range_bytes; spin_lock(&sinfo->lock); - btrfs_space_info_update_bytes_may_use(fs_info, sinfo, bytes); + btrfs_space_info_update_bytes_may_use(sinfo, bytes); spin_unlock(&sinfo->lock); if (count > 0) |
