diff options
Diffstat (limited to 'block')
-rw-r--r-- | block/blk-mq-virtio.c | 2 | ||||
-rw-r--r-- | block/scsi_ioctl.c | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/block/blk-mq-virtio.c b/block/blk-mq-virtio.c index 488341628256..7b8a42c35102 100644 --- a/block/blk-mq-virtio.c +++ b/block/blk-mq-virtio.c @@ -16,7 +16,7 @@ * @first_vec: first interrupt vectors to use for queues (usually 0) * * This function assumes the virtio device @vdev has at least as many available - * interrupt vetors as @set has queues. It will then queuery the vector + * interrupt vectors as @set has queues. It will then query the vector * corresponding to each queue for it's affinity mask and built queue mapping * that maps a queue to the CPUs that have irq affinity for the corresponding * vector. diff --git a/block/scsi_ioctl.c b/block/scsi_ioctl.c index b4e73d5dd5c2..ef722f04f88a 100644 --- a/block/scsi_ioctl.c +++ b/block/scsi_ioctl.c @@ -193,6 +193,10 @@ static void blk_set_cmd_filter_defaults(struct blk_cmd_filter *filter) __set_bit(GPCMD_LOAD_UNLOAD, filter->write_ok); __set_bit(GPCMD_SET_STREAMING, filter->write_ok); __set_bit(GPCMD_SET_READ_AHEAD, filter->write_ok); + + /* ZBC Commands */ + __set_bit(ZBC_OUT, filter->write_ok); + __set_bit(ZBC_IN, filter->read_ok); } int blk_verify_command(unsigned char *cmd, fmode_t mode) |