diff options
author | Christoph Hellwig <hch@lst.de> | 2021-07-24 09:20:21 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-07-28 22:24:25 -0400 |
commit | 547e2f7093b19a993d76c249b4c3ec8af8127d09 (patch) | |
tree | ea1d8388ce3da300fba114a07763d2c8779cb87b /block/bsg.c | |
parent | 2e27f576abc6f056e63ef207b9911b1a04d07020 (diff) |
scsi: block: Add a queue_max_bytes() helper
Return the max_sectors value in bytes. Lifted from scsi_ioctl.c.
Link: https://lore.kernel.org/r/20210724072033.1284840-13-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'block/bsg.c')
0 files changed, 0 insertions, 0 deletions