aboutsummaryrefslogtreecommitdiffstats
path: root/fs/bio.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/bio.c')
-rw-r--r--fs/bio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bio.c b/fs/bio.c
index bee4deca774a..6a637b5c24b5 100644
--- a/fs/bio.c
+++ b/fs/bio.c
@@ -111,6 +111,7 @@ void bio_init(struct bio *bio)
111{ 111{
112 memset(bio, 0, sizeof(*bio)); 112 memset(bio, 0, sizeof(*bio));
113 bio->bi_flags = 1 << BIO_UPTODATE; 113 bio->bi_flags = 1 << BIO_UPTODATE;
114 bio->bi_comp_cpu = -1;
114 atomic_set(&bio->bi_cnt, 1); 115 atomic_set(&bio->bi_cnt, 1);
115} 116}
116 117