projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ab0854
)
scsi-tgt: BKL pushdown
author
Arnd Bergmann
<arnd@arndb.de>
Tue, 20 May 2008 17:16:42 +0000
(19:16 +0200)
committer
Jonathan Corbet
<corbet@lwn.net>
Wed, 2 Jul 2008 21:06:25 +0000
(15:06 -0600)
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/scsi/scsi_tgt_if.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/scsi_tgt_if.c
b/drivers/scsi/scsi_tgt_if.c
index
d2557db
..
0e9533f
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;
}