]> www.infradead.org Git - users/hch/block.git/commit
bcachefs: Ensure bch_sb_field_ext always exists
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 30 Mar 2024 22:57:53 +0000 (18:57 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Mon, 1 Apr 2024 00:36:12 +0000 (20:36 -0400)
commit0a34c058fca84b10002228a1724e2e613e4dc3cc
tree730b744a662edac61c2f79c08b8cb358210729c0
parent4fe0eeeae477328cbd26af1e6f81a94e2080ffa8
bcachefs: Ensure bch_sb_field_ext always exists

This makes bch_sb_field_ext more consistent with the rest of -o
nochanges - we don't want to be varying other codepaths based on -o
nochanges, since it's used for testing in dry run mode; also fixes some
potential null ptr derefs.

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