diff options
author | Johannes Thumshirn <johannes.thumshirn@wdc.com> | 2020-05-12 10:55:50 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-05-13 04:36:28 +0200 |
commit | 02494d35ba5547562aae4d9c4df2d6ec33d29012 (patch) | |
tree | 062b05458fd00fc12d0490914d26991c6ab858b2 /drivers/scsi/sd.h | |
parent | block: Modify revalidate zones (diff) | |
download | linux-02494d35ba5547562aae4d9c4df2d6ec33d29012.tar.xz linux-02494d35ba5547562aae4d9c4df2d6ec33d29012.zip |
scsi: sd_zbc: factor out sanity checks for zoned commands
Factor sanity checks for zoned commands from sd_zbc_setup_zone_mgmt_cmnd().
This will help with the introduction of an emulated ZONE_APPEND command.
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/scsi/sd.h')
0 files changed, 0 insertions, 0 deletions