bcachefs: Fix an unitialized var warning in userspace

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
This commit is contained in:
Kent Overstreet
2022-03-21 19:34:48 -04:00
committed by Kent Overstreet
parent 3756111d13
commit fd1e9c6995

View File

@@ -1141,7 +1141,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;