bcachefs: fix uninitialized variable in bch2_remount()
PATCH 1/1 bcachefs: fix uninitialized variable in bch2_remount()
Reported-by kernel test robot <[email protected]>
Fixes d6a5e45c75bb ("bcachefs: use new mount API")
Signed-off-by Thomas Bertschinger <[email protected]>
--- fs/bcachefs/fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/bcachefs/fs.c +1 -1
@@ -1713,7 +1713,7 @@ static int bch2_remount(struct super_block *sb, int *flags, struct bch_opts opts) {struct bch_fs *c = sb->s_fs_info; -int ret; +int ret =0 ;opt_set (opts, read_only, (*flags &SB_RDONLY ) !=0 );
Signature · 1 line
2.45.0
Quoted 4 lines · Thomas Bertschinger
Reported-by kernel test robot <[email protected]>Fixes d6a5e45c75bb ("bcachefs: use new mount API")Signed-off-by Thomas Bertschinger <[email protected]>
folded in