mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
floppy/scsi: fix setting of BIO flags
Fix setting bio flags in drivers (sd_dif/floppy). Signed-off-by: Muthukumar R <[email protected]> Cc: Jens Axboe <[email protected]> Cc: James Bottomley <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
9ce70c0240
commit
9354f1b8e6
2 changed files with 2 additions and 2 deletions
|
|
@ -408,7 +408,7 @@ int sd_dif_prepare(struct request *rq, sector_t hw_sector, unsigned int sector_s
|
|||
kunmap_atomic(sdt, KM_USER0);
|
||||
}
|
||||
|
||||
bio->bi_flags |= BIO_MAPPED_INTEGRITY;
|
||||
bio->bi_flags |= (1 << BIO_MAPPED_INTEGRITY);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue