diff options
author | Arnd Bergmann <arnd@arndb.de> | 2008-05-20 19:16:42 +0200 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2008-07-02 15:06:25 -0600 |
commit | 556e4b0b69d6e45e6b4e61390ef5aebce3ea432d (patch) | |
tree | 263edb7b048b6b276147bd1615c45dd2e9c3065a /drivers/scsi/scsi_tgt_if.c | |
parent | 5ab0854dd77a520abe7c3b9c7770972fd3e61e90 (diff) | |
download | op-kernel-dev-556e4b0b69d6e45e6b4e61390ef5aebce3ea432d.zip op-kernel-dev-556e4b0b69d6e45e6b4e61390ef5aebce3ea432d.tar.gz |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/scsi_tgt_if.c b/drivers/scsi/scsi_tgt_if.c index d2557db..0e9533f7 100644 --- a/drivers/scsi/scsi_tgt_if.c +++ b/drivers/scsi/scsi_tgt_if.c @@ -21,6 +21,7 @@ */ #include <linux/miscdevice.h> #include <linux/file.h> +#include <linux/smp_lock.h> #include <net/tcp.h> #include <scsi/scsi.h> #include <scsi/scsi_cmnd.h> @@ -321,6 +322,7 @@ static int tgt_open(struct inode *inode, struct file *file) { tx_ring.tr_idx = rx_ring.tr_idx = 0; + cycle_kernel_lock(); return 0; } |