diff options
author | 2021-07-24 09:20:19 +0200 | |
---|---|---|
committer | 2021-07-28 22:24:25 -0400 | |
commit | 4f07bfc56157ebc689ef54879e90c48a47294083 (patch) | |
tree | e9622759f995104badfc5b9d25dbb8ec49b2648f /include/scsi/scsi_request.h | |
parent | scsi: scsi_ioctl: Remove scsi_cmd_blk_ioctl() (diff) | |
download | wireguard-linux-4f07bfc56157ebc689ef54879e90c48a47294083.tar.xz wireguard-linux-4f07bfc56157ebc689ef54879e90c48a47294083.zip |
scsi: scsi_ioctl: Remove scsi_verify_blk_ioctl()
Manually verify that the device is not a partition and the caller has admin
privŃ–leges at the beginning of the sr ioctl method and open code the
trivial check for sd as well.
Link: https://lore.kernel.org/r/20210724072033.1284840-11-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/scsi/scsi_request.h')
0 files changed, 0 insertions, 0 deletions