scsi: stop passing a gfp_mask argument down the command setup path
authorChristoph Hellwig <hch@lst.de>
Sat, 6 Sep 2014 01:20:23 +0000 (18:20 -0700)
committerChristoph Hellwig <hch@lst.de>
Mon, 24 Nov 2014 18:56:55 +0000 (19:56 +0100)
commit3c356bde19e9a728b26a231a23099c8057dbe881
tree5c36f956e9f8a15de22dfca057b07c63818eeeda
parentbb3ec62a179922b501535d5bd210cb8ba2ad069b
scsi: stop passing a gfp_mask argument down the command setup path

There is no reason for ULDs to pass in a flag on how to allocate the S/G
lists.  While we don't need GFP_ATOMIC for the blk-mq case because we
don't hold locks, that decision can be made way down the chain without
having to pass a pointless gfp_mask argument.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
drivers/scsi/scsi_lib.c
drivers/scsi/sd.c
drivers/scsi/sr.c
include/scsi/scsi_cmnd.h