mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-13 11:51:32 +00:00
scsi-tgt: BKL pushdown
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
parent
5ab0854dd7
commit
556e4b0b69
@ -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)
|
|||||||
{
|
{
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user