summaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorMuthukumar R <muthur@gmail.com>2012-03-02 10:40:58 +0100
committerJens Axboe <axboe@kernel.dk>2012-03-02 10:40:58 +0100
commit12ebffd146768556ab7c415d0ff9ab78e3d16b7a (patch)
treef25e67d0bd6ff2ef32ef7e84309ab2235dcbd52d /drivers/block
parentfe316bf2d5847bc5dd975668671a7b1067603bc7 (diff)
downloadlinux-12ebffd146768556ab7c415d0ff9ab78e3d16b7a.tar.bz2
block: Fix setting bio flags in drivers (sd_dif/floppy)
Fix setting bio flags in drivers (sd_dif/floppy). Signed-off-by: Muthukumar R <muthur@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/floppy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/floppy.c b/drivers/block/floppy.c
index 9baf11e86362..744f078f4dd8 100644
--- a/drivers/block/floppy.c
+++ b/drivers/block/floppy.c
@@ -3832,7 +3832,7 @@ static int __floppy_read_block_0(struct block_device *bdev)
bio.bi_size = size;
bio.bi_bdev = bdev;
bio.bi_sector = 0;
- bio.bi_flags = BIO_QUIET;
+ bio.bi_flags = (1 << BIO_QUIET);
init_completion(&complete);
bio.bi_private = &complete;
bio.bi_end_io = floppy_rb0_complete;