diff options
-rw-r--r-- | fs/bio.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -126,6 +126,7 @@ static void bio_fs_destructor(struct bio *bio) | |||
126 | inline void bio_init(struct bio *bio) | 126 | inline void bio_init(struct bio *bio) |
127 | { | 127 | { |
128 | bio->bi_next = NULL; | 128 | bio->bi_next = NULL; |
129 | bio->bi_bdev = NULL; | ||
129 | bio->bi_flags = 1 << BIO_UPTODATE; | 130 | bio->bi_flags = 1 << BIO_UPTODATE; |
130 | bio->bi_rw = 0; | 131 | bio->bi_rw = 0; |
131 | bio->bi_vcnt = 0; | 132 | bio->bi_vcnt = 0; |