]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
scsi: sg: disable SET_FORCE_LOW_DMA
authorHannes Reinecke <hare@suse.de>
Fri, 7 Apr 2017 07:34:12 +0000 (09:34 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 11 Jun 2020 18:05:47 +0000 (19:05 +0100)
commit0e8d9ca262840625610449e05cac4a2c9d7be83a
tree9f69e20cedc949e2114df215bcbeb79f54dbee70
parent6d391ab54157b36331528d526957688f458a11bf
scsi: sg: disable SET_FORCE_LOW_DMA

commit 745dfa0d8ec26b24f3304459ff6e9eacc5c8351b upstream.

The ioctl SET_FORCE_LOW_DMA has never worked since the initial git
check-in, and the respective setting is nowadays handled correctly. So
disable it entirely.

Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Tested-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
[bwh: Backported to 3.16: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/scsi/sg.c
include/scsi/sg.h