[PATCH] ->nr_sectors and ->hard_nr_sectors are not used for BLOCK_PC requests
authorJens Axboe <jens.axboe@oracle.com>
Tue, 19 Dec 2006 07:27:31 +0000 (08:27 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 19 Dec 2006 07:27:31 +0000 (08:27 +0100)
commit2985259b0e3928d4cd0723ac5aad0d1190ab7717
tree70d1d7801699102d3bb52bc84b8ec8f4fc371c06
parenta52de245ef0b6217a56fb2472ff65c3a196cafd5
[PATCH] ->nr_sectors and ->hard_nr_sectors are not used for BLOCK_PC requests

It's a file system thing, for block requests the only size used in the
io paths is ->data_len as it is in bytes, not sectors.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/ll_rw_blk.c
drivers/scsi/scsi_lib.c