OSDN Git Service

scsi: sg: disable SET_FORCE_LOW_DMA
authorHannes Reinecke <hare@suse.de>
Fri, 7 Apr 2017 07:34:12 +0000 (09:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jan 2018 18:57:04 +0000 (19:57 +0100)
commitbb7119eea22c1764d3aa5edf541872cf5365f172
tree02b79b25ad0231ae53a10e9de6390490240111e0
parentc9ca9d9d9b7968d5490415c87a17db4335f846c3
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>
drivers/scsi/sg.c
include/scsi/sg.h