]> git.baikalelectronics.ru Git - 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)
commit52e5b1d141fccbba4782b572663c13a5cdd3d38a
treefa96aba38cc6187e40722d7ff04a60905c66d6d5
parent01b2678cba952840a26f409e55d9c5bcefb6c4df
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