summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/util.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-02-21 05:05:29 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:09:24 -0400
commit3117db99f30b26ebf09ecc323cbefcd51d83467b (patch)
tree11a698224b70620242e2b7a18fde7701e8159374 /fs/bcachefs/util.c
parent8ccf4dff09e49b34c6ed2e161720634e8dafb99f (diff)
downloadlinux-stable-3117db99f30b26ebf09ecc323cbefcd51d83467b.tar.gz
linux-stable-3117db99f30b26ebf09ecc323cbefcd51d83467b.tar.bz2
linux-stable-3117db99f30b26ebf09ecc323cbefcd51d83467b.zip
bcachefs: Don't issue discards when in nochanges mode
When the nochanges option is selected, we're supposed to never issue writes. Unfortunately, it seems discards were missed when implemnting this, leading to some painful filesystem corruption. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/util.c')
0 files changed, 0 insertions, 0 deletions