diff options
| -rw-r--r-- | MAINTAINERS | 3 | ||||
| -rw-r--r-- | drivers/scsi/scsi_lib.c | 3 | 
2 files changed, 2 insertions, 4 deletions
| diff --git a/MAINTAINERS b/MAINTAINERS index 5e61aef972ef..2fa385321245 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7747,8 +7747,7 @@ F:	Documentation/scsi/LICENSE.qla2xxx  F:	drivers/scsi/qla2xxx/  QLOGIC QLA4XXX iSCSI DRIVER -M:	Vikas Chaudhary <vikas.chaudhary@qlogic.com> -M:	iscsi-driver@qlogic.com +M:	QLogic-Storage-Upstream@qlogic.com  L:	linux-scsi@vger.kernel.org  S:	Supported  F:	Documentation/scsi/LICENSE.qla4xxx diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index 9ea95dd3e260..6d5c0b8cb0bb 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c @@ -591,7 +591,6 @@ static void scsi_free_sgtable(struct scsi_data_buffer *sdb, bool mq)  static int scsi_alloc_sgtable(struct scsi_data_buffer *sdb, int nents, bool mq)  {  	struct scatterlist *first_chunk = NULL; -	gfp_t gfp_mask = mq ? GFP_NOIO : GFP_ATOMIC;  	int ret;  	BUG_ON(!nents); @@ -606,7 +605,7 @@ static int scsi_alloc_sgtable(struct scsi_data_buffer *sdb, int nents, bool mq)  	}  	ret = __sg_alloc_table(&sdb->table, nents, SCSI_MAX_SG_SEGMENTS, -			       first_chunk, gfp_mask, scsi_sg_alloc); +			       first_chunk, GFP_ATOMIC, scsi_sg_alloc);  	if (unlikely(ret))  		scsi_free_sgtable(sdb, mq);  	return ret; | 
