summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/ec.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2021-10-29 18:21:05 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:09:15 -0400
commit37f72492f401671f1f773cc62dddf742e7fc553b (patch)
tree49572cf75962f9943856e6d7a90f0d27980dc98e /fs/bcachefs/ec.h
parentfae1157d184084f1716a10273423f8e949d8471f (diff)
downloadlinux-stable-37f72492f401671f1f773cc62dddf742e7fc553b.tar.gz
linux-stable-37f72492f401671f1f773cc62dddf742e7fc553b.tar.bz2
linux-stable-37f72492f401671f1f773cc62dddf742e7fc553b.zip
bcachefs: Fix bch2_mark_update()
When the old or new key doesn't exist, we should still pass in a deleted key with the correct pos. This fixes a bug in the ec code, when bch2_mark_stripe() was looking up the wrong in-memory stripe. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/ec.h')
0 files changed, 0 insertions, 0 deletions