]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bcachefs: Add repair code for out of order keys in a btree node.
authorKent Overstreet <kent.overstreet@gmail.com>
Mon, 29 Mar 2021 04:19:05 +0000 (00:19 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:58 +0000 (17:08 -0400)
commit5f65d74d791d9bc07de05d4fa4ed5bb075e07873
treec8c554d7ae52489891005026c837a78807eea465
parenta84b6c50f18e197070e35a04252fcc5c0abf2904
bcachefs: Add repair code for out of order keys in a btree node.

This just drops the offending key - in the bug report where this was
seen, it was clearly a single bit memory error, and fsck will fix the
missing key.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/btree_io.c