summaryrefslogtreecommitdiff
path: root/fs/bcachefs/util.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-03-21 10:03:03 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:09:28 +0300
commitb8559f1a212a7035b430b83e0a01e94a872adc23 (patch)
tree3c9287001560b6c210a491d27c5cefb6b2b556f5 /fs/bcachefs/util.h
parentb0be2fcfb425022025203c27ed75a20db8c6feda (diff)
downloadlinux-b8559f1a212a7035b430b83e0a01e94a872adc23.tar.xz
bcachefs: Reset journal flush delay to default value if zeroed
We've been seeing a very strange bug where journal flush & reclaim delay end up getting inexplicably zeroed, in the superblock. We're now validating all the options in bch2_validate_super(), and 0 is no longer a valid value for those options, but we need to be careful not to prevent people's filesystems from mounting because of the new validation. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/util.h')
0 files changed, 0 insertions, 0 deletions