bcachefs: add a quieter bch2_read_super
authorDaniel Hill <daniel@gluo.nz>
Sun, 19 Nov 2023 20:53:36 +0000 (09:53 +1300)
committerKent Overstreet <kent.overstreet@linux.dev>
Mon, 1 Jan 2024 16:47:38 +0000 (11:47 -0500)
commit2b161cc7cb077e9f8479f1aa132c78c37ce845cd
tree424a37f2398c4120e573a5e91c61a75dc2a54e21
parent25f64e997e4bd864b4426ba40b3a48d276665fea
bcachefs: add a quieter bch2_read_super

If we're looking for a bcachefs supers iteratively we don't want to see
this error.

This function replaces KERN_ERR with KERN_INFO for when we don't find a
bcachefs superblock but preserves other errors.

Signed-off-by: Daniel Hill <daniel@gluo.nz>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/super-io.c
fs/bcachefs/super-io.h