bcachefs: make __bch2_read_super static
PATCH 1/1 bcachefs: make __bch2_read_super static
The __bch2_read_super are not used outside the file super-io.c, so the modification is defined as static.
fs/bcachefs/super-io.c:661:5: warning: no previous prototype for ‘__bch2_read_super’.
Reported-by Abaci Robot <[email protected]>
Signed-off-by Jiapeng Chong <[email protected]>
--- fs/bcachefs/super-io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/bcachefs/super-io.c +1 -1
@@ -658,7 +658,7 @@ static int read_one_super(struct bch_sb_handle *sb, u64 offset, struct printbufreturn 0 ; } -int __bch2_read_super (const char *path,struct bch_opts *opts, +static int __bch2_read_super (const char *path,struct bch_opts *opts,struct bch_sb_handle *sb,bool ignore_notbchfs_msg) {u64 offset =opt_get (*opts, sb);
Signature · 1 line
2.20.1.7.g153144c