From: Arnd Bergmann Date: Tue, 20 May 2008 17:16:42 +0000 (+0200) Subject: scsi-tgt: BKL pushdown X-Git-Tag: v2.6.27-rc1~1103^2~30 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=556e4b0b69d6e45e6b4e61390ef5aebce3ea432d;p=linux-2.6 scsi-tgt: BKL pushdown Signed-off-by: Arnd Bergmann --- diff --git a/drivers/scsi/scsi_tgt_if.c b/drivers/scsi/scsi_tgt_if.c index d2557dbc2d..0e9533f7aa 100644 --- a/drivers/scsi/scsi_tgt_if.c +++ b/drivers/scsi/scsi_tgt_if.c @@ -21,6 +21,7 @@ */ #include #include +#include #include #include #include @@ -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; }