projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ide: ide-tape.c sparse annotations and unaligned access removal
[deliverable/linux.git]
/
drivers
/
scsi
/
scsi_tgt_if.c
diff --git
a/drivers/scsi/scsi_tgt_if.c
b/drivers/scsi/scsi_tgt_if.c
index d2557dbc2dc156014b011609408b32d7dfcd70fc..0e9533f7aabc4bcd38befa28c1727db45cd41a1e 100644
(file)
--- 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;
}
This page took
0.023803 seconds
and
5
git commands to generate.