diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-11-17 08:03:45 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-21 14:01:45 +0300 |
commit | 8e7834a8831678d0825895d7f5a02ad0b29bbcde (patch) | |
tree | fa85c824684ae6d07c128723a626f788f2abebe3 /fs/bcachefs/inode.c | |
parent | 4f564f4f9fdd4d120ee04678b0c22e40cc8b6b47 (diff) | |
download | linux-8e7834a8831678d0825895d7f5a02ad0b29bbcde.tar.xz |
bcachefs: bch_fs_usage_base
Split out base filesystem usage into its own type; prep work for
breaking up bch2_trans_fs_usage_apply().
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/inode.c')
-rw-r--r-- | fs/bcachefs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/inode.c b/fs/bcachefs/inode.c index 51a06324b21d..18a8d141b443 100644 --- a/fs/bcachefs/inode.c +++ b/fs/bcachefs/inode.c @@ -597,7 +597,7 @@ int bch2_trigger_inode(struct btree_trans *trans, struct bch_fs *c = trans->c; percpu_down_read(&c->mark_lock); - this_cpu_add(c->usage_gc->nr_inodes, nr); + this_cpu_add(c->usage_gc->b.nr_inodes, nr); percpu_up_read(&c->mark_lock); } |