Commit 556e4b0b69d6e45e6b4e61390ef5aebce3ea432d

Authored by Arnd Bergmann
Committed by Jonathan Corbet
1 parent 5ab0854dd7

scsi-tgt: BKL pushdown

Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

drivers/scsi/scsi_tgt_if.c
... ... @@ -21,6 +21,7 @@
21 21 */
22 22 #include <linux/miscdevice.h>
23 23 #include <linux/file.h>
  24 +#include <linux/smp_lock.h>
24 25 #include <net/tcp.h>
25 26 #include <scsi/scsi.h>
26 27 #include <scsi/scsi_cmnd.h>
... ... @@ -321,6 +322,7 @@
321 322 {
322 323 tx_ring.tr_idx = rx_ring.tr_idx = 0;
323 324  
  325 + cycle_kernel_lock();
324 326 return 0;
325 327 }
326 328