Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100379
b: refs/heads/master
c: 556e4b0
h: refs/heads/master
i:
  100377: ebd645c
  100375: a9cb871
v: v3
  • Loading branch information
Arnd Bergmann authored and Jonathan Corbet committed Jul 2, 2008
1 parent 7992a29 commit cb66cd3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5ab0854dd77a520abe7c3b9c7770972fd3e61e90
refs/heads/master: 556e4b0b69d6e45e6b4e61390ef5aebce3ea432d
2 changes: 2 additions & 0 deletions trunk/drivers/scsi/scsi_tgt_if.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit cb66cd3

Please sign in to comment.