Commit 556e4b0b authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Jonathan Corbet

scsi-tgt: BKL pushdown

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 5ab0854d
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
*/ */
#include <linux/miscdevice.h> #include <linux/miscdevice.h>
#include <linux/file.h> #include <linux/file.h>
#include <linux/smp_lock.h>
#include <net/tcp.h> #include <net/tcp.h>
#include <scsi/scsi.h> #include <scsi/scsi.h>
#include <scsi/scsi_cmnd.h> #include <scsi/scsi_cmnd.h>
...@@ -321,6 +322,7 @@ static int tgt_open(struct inode *inode, struct file *file) ...@@ -321,6 +322,7 @@ static int tgt_open(struct inode *inode, struct file *file)
{ {
tx_ring.tr_idx = rx_ring.tr_idx = 0; tx_ring.tr_idx = rx_ring.tr_idx = 0;
cycle_kernel_lock();
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment