diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-12-01 11:32:12 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:13 -0400 |
commit | 06b7345cc282ec383942afb3b5b8d42bd9eec1b8 (patch) | |
tree | 90a53cb37cfdd957bfe3e22aa8c08cf343a669c1 /fs/bcachefs/chardev.c | |
parent | 5663a4152138fdf23a300934128d77a1bf784237 (diff) | |
download | linux-stable-06b7345cc282ec383942afb3b5b8d42bd9eec1b8.tar.gz linux-stable-06b7345cc282ec383942afb3b5b8d42bd9eec1b8.tar.bz2 linux-stable-06b7345cc282ec383942afb3b5b8d42bd9eec1b8.zip |
bcachefs: Include summarized counts in fs_usage
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/chardev.c')
-rw-r--r-- | fs/bcachefs/chardev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/chardev.c b/fs/bcachefs/chardev.c index c11f8f4d24cf..7f79f020d904 100644 --- a/fs/bcachefs/chardev.c +++ b/fs/bcachefs/chardev.c @@ -398,7 +398,7 @@ static long bch2_ioctl_usage(struct bch_fs *c, struct bch_ioctl_fs_usage dst = { .capacity = c->capacity, .used = bch2_fs_sectors_used(c, src), - .online_reserved = src.online_reserved, + .online_reserved = src.s.online_reserved, }; for (i = 0; i < BCH_REPLICAS_MAX; i++) { |