* [PATCH] bcachefs: fix uninitialized variable in bch2_remount()
@ 2024-05-30 1:38 Thomas Bertschinger
2024-05-30 1:49 ` Kent Overstreet
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Bertschinger @ 2024-05-30 1:38 UTC (permalink / raw)
To: kent.overstreet, linux-bcachefs, bfoster
Cc: Thomas Bertschinger, kernel test robot
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202405291826.785pVN5c-lkp@intel.com/
Fixes: d6a5e45c75bb ("bcachefs: use new mount API")
Signed-off-by: Thomas Bertschinger <tahbertschinger@gmail.com>
---
fs/bcachefs/fs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/bcachefs/fs.c b/fs/bcachefs/fs.c
index d4e7d6dc61cb..b2a3a042349f 100644
--- a/fs/bcachefs/fs.c
+++ b/fs/bcachefs/fs.c
@@ -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);
--
2.45.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] bcachefs: fix uninitialized variable in bch2_remount()
2024-05-30 1:38 [PATCH] bcachefs: fix uninitialized variable in bch2_remount() Thomas Bertschinger
@ 2024-05-30 1:49 ` Kent Overstreet
0 siblings, 0 replies; 2+ messages in thread
From: Kent Overstreet @ 2024-05-30 1:49 UTC (permalink / raw)
To: Thomas Bertschinger; +Cc: linux-bcachefs, bfoster, kernel test robot
On Wed, May 29, 2024 at 07:38:14PM -0600, Thomas Bertschinger wrote:
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202405291826.785pVN5c-lkp@intel.com/
> Fixes: d6a5e45c75bb ("bcachefs: use new mount API")
> Signed-off-by: Thomas Bertschinger <tahbertschinger@gmail.com>
folded in
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-05-30 1:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-30 1:38 [PATCH] bcachefs: fix uninitialized variable in bch2_remount() Thomas Bertschinger
2024-05-30 1:49 ` Kent Overstreet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox