diff options
author | Christoph Hellwig <hch@lst.de> | 2020-10-05 10:41:23 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-10-08 03:48:27 +0200 |
commit | 2ceda20f0a99a74a82b78870f3b3e5fa93087a7f (patch) | |
tree | 9b77440cfe789b877ce34a791119b1192e6bbaaa /drivers/android | |
parent | scsi: core: Remove scsi_init_cmd_errh (diff) | |
download | linux-2ceda20f0a99a74a82b78870f3b3e5fa93087a7f.tar.xz linux-2ceda20f0a99a74a82b78870f3b3e5fa93087a7f.zip |
scsi: core: Move command size detection out of the fast path
We only need to detect the command size for ioctl request from userspace,
which is limited to the passthrough path. Move the check there instead of
doing it for all queuecommand invocations.
Link: https://lore.kernel.org/r/20201005084130.143273-4-hch@lst.de
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/android')
0 files changed, 0 insertions, 0 deletions