diff options
-rw-r--r-- | fs/bcachefs/io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/io.c b/fs/bcachefs/io.c index cf97594b7c6f..36929451af2c 100644 --- a/fs/bcachefs/io.c +++ b/fs/bcachefs/io.c @@ -1059,7 +1059,7 @@ static void __bch2_write(struct closure *cl) struct bch_write_op *op = container_of(cl, struct bch_write_op, cl); struct bch_fs *c = op->c; struct write_point *wp; - struct bio *bio; + struct bio *bio = NULL; bool skip_put = true; unsigned nofs_flags; int ret; |