summaryrefslogtreecommitdiff
path: root/fs/bcachefs/super.c
diff options
context:
space:
mode:
authorDan Robertson <dan@dlrobertson.com>2021-05-18 20:36:20 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:09:03 -0400
commited34341189478344eb54588ce73f190b86da4d5e (patch)
tree15444c5676406966c91ac2a60375edc4e43b678c /fs/bcachefs/super.c
parentc21d5377791d94fca0d990eee82111572412640c (diff)
bcachefs: statfs resports incorrect avail blocks
The current implementation of bch_statfs does not scale the number of available blocks provided in f_bavail by the reserve factor. This causes an allocation of a file of this size to fail. Signed-off-by: Dan Robertson <dan@dlrobertson.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/super.c')
0 files changed, 0 insertions, 0 deletions