diff options
author | Christoph Hellwig <hch@lst.de> | 2020-05-12 17:55:46 +0900 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-05-12 20:36:28 -0600 |
commit | e4581105771b3523ced88f781eb2672195d217aa (patch) | |
tree | 2dbfc03873daddeb558d7093f770d8bd66660989 /drivers/scsi/sr_ioctl.c | |
parent | 02992df822e7e36685593aad10721a5a9f8d3402 (diff) | |
download | linux-e4581105771b3523ced88f781eb2672195d217aa.tar.bz2 |
block: rename __bio_add_pc_page to bio_add_hw_page
Rename __bio_add_pc_page() to bio_add_hw_page() and explicitly pass in a
max_sectors argument.
This max_sectors argument can be used to specify constraints from the
hardware.
Signed-off-by: Christoph Hellwig <hch@lst.de>
[ jth: rebased and made public for blk-map.c ]
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Daniel Wagner <dwagner@suse.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/scsi/sr_ioctl.c')
0 files changed, 0 insertions, 0 deletions