Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

scsi-tgt: BKL pushdown



Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 5ab0854d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;
}