diff options
author | Muthu Kumar | 2012-03-05 14:59:16 -0800 |
---|---|---|
committer | Linus Torvalds | 2012-03-05 15:49:43 -0800 |
commit | 9354f1b8e6c55c335d1c4fb10d0ae7a041935240 (patch) | |
tree | 98854146031952f226db78a5763b7bf28d310cde /drivers/block/floppy.c | |
parent | 9ce70c0240d01309b34712f87eda4fbfba3c3764 (diff) |
floppy/scsi: fix setting of BIO flags
Fix setting bio flags in drivers (sd_dif/floppy).
Signed-off-by: Muthukumar R <muthur@gmail.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/block/floppy.c')
-rw-r--r-- | drivers/block/floppy.c | 2 |
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; |