diff options
author | Naohiro Aota <naohiro.aota@wdc.com> | 2024-11-14 17:04:28 +0900 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2025-01-13 14:53:14 +0100 |
commit | 7de9ca1f30b7002a237e3119a8a4a54f26988b92 (patch) | |
tree | c6e41f6fb8c3155667472011c36fa0fb5618f2c4 /fs/btrfs/inode.c | |
parent | 3704db1013232465ee3db742dc31853c44daf68c (diff) | |
download | linux-7de9ca1f30b7002a237e3119a8a4a54f26988b92.tar.gz linux-7de9ca1f30b7002a237e3119a8a4a54f26988b92.tar.bz2 linux-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 <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/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) |