]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: Remove unnecessary peek_slot()
authorKent Overstreet <kent.overstreet@linux.dev>
Tue, 24 Sep 2024 09:08:39 +0000 (05:08 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sat, 21 Dec 2024 06:36:14 +0000 (01:36 -0500)
commitd6cf895847f60af83bad62b15f1da14abd331fae
treec9add9a43b4c5070cd5932b710c1c7b229c9fe26
parentfe818d2039e74fac314e4032b51f057a7f313ad0
bcachefs: Remove unnecessary peek_slot()

hash_lookup() used to return an errorcode, and a peek_slot() call was
required to get the key it looked up. But we're adding fault injection
for transaction restarts, so fix this old unconverted code.

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