summaryrefslogtreecommitdiffstats
path: root/fs/mbcache.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-10-17 07:10:49 +0200
committerKent Overstreet <kent.overstreet@linux.dev>2024-10-18 06:49:48 +0200
commit97535cd84f189248ea0fe14544628d480908e99b (patch)
tree233c4fd521f34f0524ab35f6c74df5f0070280fc /fs/mbcache.c
parentbcachefs: bch2_folio_reservation_get_partial() is now better behaved (diff)
downloadlinux-97535cd84f189248ea0fe14544628d480908e99b.tar.xz
linux-97535cd84f189248ea0fe14544628d480908e99b.zip
bcachefs: Fix data corruption on -ENOSPC in buffered write path
Found by generic/299: When we have to truncate a write due to -ENOSPC, we may have to read in the folio we're writing to if we're now no longer doing a complete write to a !uptodate folio. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/mbcache.c')
0 files changed, 0 insertions, 0 deletions