]> git.baikalelectronics.ru Git - kernel.git/commit
target: lock => unlock typo in transport_lun_wait_for_tasks
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 8 May 2012 10:28:59 +0000 (13:28 +0300)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 9 May 2012 22:07:44 +0000 (15:07 -0700)
commite204ed72517b8058974f37b2e9accd4df9468634
tree74a928f86be838214f6351d2a58b8c63b0e83b11
parentd44b1e7bd06a3bdc0c2d0e41315d04de2e437e02
target: lock => unlock typo in transport_lun_wait_for_tasks

target_stop_cmd() returns with the lock held and IRQs disabled.  The
intent was to unlock here.  This bug was originally added with:

commit 52a011fbac5134040d940db085d7ae242b8b867c
Author: Christoph Hellwig <hch@infradead.org>
Date:   Tue Apr 24 00:25:05 2012 -0400

    target: move the state and execute lists to the command

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_transport.c