diff options
author | Johannes Thumshirn <jthumshirn@suse.de> | 2016-11-17 12:50:23 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-11-17 20:44:51 -0500 |
commit | 208da78e8ec8b6d6ce3747ab0e5c120458e08ae6 (patch) | |
tree | 0e0d519131cdef046d287a26453b878ecabe7bfa | |
parent | c733ab3512431436a26e0381829b45794cb13fb0 (diff) |
scsi: libfc: fix seconds_since_last_reset miscalculation
Commit 540eb1eef0ab ("scsi: libfc: fix seconds_since_last_reset calculation")
removed the use of 'struct timespec' from fc_get_host_stats(). This broke the
output of 'fcoeadm -s' after kernel 4.8-rc1.
Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Cc: <stable@vger.kernel.org> # v4.8+
Fixes: 540eb1eef0ab ("scsi: libfc: fix seconds_since_last_reset calculation")
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>