]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
qla2xxx: Fix schedule_delayed_work() for target timeout calculations
authorShivaram Upadhyayula <shivaram.u@quadstor.com>
Tue, 10 Dec 2013 10:36:40 +0000 (16:06 +0530)
committerNicholas Bellinger <nab@linux-iscsi.org>
Thu, 12 Dec 2013 00:06:20 +0000 (16:06 -0800)
commit63832aabec12a28a41a221773ab3819d30ba0a67
treefa96aba38cc6187e40722d7ff04a60905c66d6d5
parent94a7111043d99819cd0a72d9b3174c7054adb2a0
qla2xxx: Fix schedule_delayed_work() for target timeout calculations

This patch fixes two cases in qla_target.c code where the
schedule_delayed_work() value was being incorrectly calculated
from sess->expires - jiffies.

Signed-off-by: Shivaram U <shivaram.u@quadstor.com>
Cc: <stable@vger.kernel.org> #3.6+
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/scsi/qla2xxx/qla_target.c