diff options
Diffstat (limited to 'drivers/scsi/libfc/fc_fcp.c')
-rw-r--r-- | drivers/scsi/libfc/fc_fcp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/scsi/libfc/fc_fcp.c b/drivers/scsi/libfc/fc_fcp.c index a67f53a5026c..beaab818d8de 100644 --- a/drivers/scsi/libfc/fc_fcp.c +++ b/drivers/scsi/libfc/fc_fcp.c | |||
@@ -2064,8 +2064,11 @@ int fc_slave_alloc(struct scsi_device *sdev) | |||
2064 | } | 2064 | } |
2065 | EXPORT_SYMBOL(fc_slave_alloc); | 2065 | EXPORT_SYMBOL(fc_slave_alloc); |
2066 | 2066 | ||
2067 | int fc_change_queue_depth(struct scsi_device *sdev, int qdepth) | 2067 | int fc_change_queue_depth(struct scsi_device *sdev, int qdepth, int reason) |
2068 | { | 2068 | { |
2069 | if (reason != SCSI_QDEPTH_DEFAULT) | ||
2070 | return -EOPNOTSUPP; | ||
2071 | |||
2069 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); | 2072 | scsi_adjust_queue_depth(sdev, scsi_get_tag_type(sdev), qdepth); |
2070 | return sdev->queue_depth; | 2073 | return sdev->queue_depth; |
2071 | } | 2074 | } |