scsi: fnic: Fix for "Number of Active IOs" in fnicstats becoming negative
authorSatish Kharat <satishkh@cisco.com>
Wed, 1 Mar 2017 00:14:56 +0000 (16:14 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 23 Mar 2017 13:57:23 +0000 (09:57 -0400)
commit7ef539c88d7d394410d547c9f082d477093a2a22
treea54f6349521319254356594443cc1c98405f0cd9
parentccc6d704602b01f6ce48abdea53736db88c5470c
scsi: fnic: Fix for "Number of Active IOs" in fnicstats becoming negative

Fixing the IO stats update (Active IOs and IO completion) to prevent
"Number of Active IOs" from becoming negative in the fnistats output.

Signed-off-by: Satish Kharat <satishkh@cisco.com>
Signed-off-by: Sesidhar Baddela <sebaddel@cisco.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/fnic/fnic_scsi.c