diff options
-rw-r--r-- | fs/bio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bio.c b/fs/bio.c index dfe242a21eb4cb..7b30695899511c 100644 --- a/fs/bio.c +++ b/fs/bio.c @@ -126,6 +126,7 @@ static void bio_fs_destructor(struct bio *bio) inline void bio_init(struct bio *bio) { bio->bi_next = NULL; + bio->bi_bdev = NULL; bio->bi_flags = 1 << BIO_UPTODATE; bio->bi_rw = 0; bio->bi_vcnt = 0; |