summaryrefslogtreecommitdiff
path: root/fs/bcachefs/super-io.h
diff options
context:
space:
mode:
authorDaniel Hill <daniel@gluo.nz>2023-11-20 09:53:36 +1300
committerKent Overstreet <kent.overstreet@linux.dev>2024-01-01 11:47:38 -0500
commit2b161cc7cb077e9f8479f1aa132c78c37ce845cd (patch)
tree424a37f2398c4120e573a5e91c61a75dc2a54e21 /fs/bcachefs/super-io.h
parent25f64e997e4bd864b4426ba40b3a48d276665fea (diff)
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>
Diffstat (limited to 'fs/bcachefs/super-io.h')
-rw-r--r--fs/bcachefs/super-io.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/super-io.h b/fs/bcachefs/super-io.h
index e41e5de531a0..654c5d4d522a 100644
--- a/fs/bcachefs/super-io.h
+++ b/fs/bcachefs/super-io.h
@@ -84,6 +84,7 @@ void bch2_free_super(struct bch_sb_handle *);
int bch2_sb_realloc(struct bch_sb_handle *, unsigned);
int bch2_read_super(const char *, struct bch_opts *, struct bch_sb_handle *);
+int bch2_read_super_silent(const char *, struct bch_opts *, struct bch_sb_handle *);
int bch2_write_super(struct bch_fs *);
void __bch2_check_set_feature(struct bch_fs *, unsigned);