aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_tgt_if.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2008-05-20 13:16:42 -0400
committerJonathan Corbet <corbet@lwn.net>2008-07-02 17:06:25 -0400
commit556e4b0b69d6e45e6b4e61390ef5aebce3ea432d (patch)
tree263edb7b048b6b276147bd1615c45dd2e9c3065a /drivers/scsi/scsi_tgt_if.c
parent5ab0854dd77a520abe7c3b9c7770972fd3e61e90 (diff)
scsi-tgt: BKL pushdown
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/scsi/scsi_tgt_if.c')
-rw-r--r--drivers/scsi/scsi_tgt_if.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/scsi_tgt_if.c b/drivers/scsi/scsi_tgt_if.c
index d2557dbc2dc1..0e9533f7aabc 100644
--- a/drivers/scsi/scsi_tgt_if.c
+++ b/drivers/scsi/scsi_tgt_if.c
@@ -21,6 +21,7 @@
21 */ 21 */
22#include <linux/miscdevice.h> 22#include <linux/miscdevice.h>
23#include <linux/file.h> 23#include <linux/file.h>
24#include <linux/smp_lock.h>
24#include <net/tcp.h> 25#include <net/tcp.h>
25#include <scsi/scsi.h> 26#include <scsi/scsi.h>
26#include <scsi/scsi_cmnd.h> 27#include <scsi/scsi_cmnd.h>
@@ -321,6 +322,7 @@ static int tgt_open(struct inode *inode, struct file *file)
321{ 322{
322 tx_ring.tr_idx = rx_ring.tr_idx = 0; 323 tx_ring.tr_idx = rx_ring.tr_idx = 0;
323 324
325 cycle_kernel_lock();
324 return 0; 326 return 0;
325} 327}
326 328