scsi tgt: use the original bio_map_user interface
PATCH 3/6 scsi tgt: use the original bio_map_user interface
Signed-off-by FUJITA Tomonori <[email protected]>
Signed-off-by Mike Christie <[email protected]>
---
drivers/scsi/scsi_tgt_lib.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
0968c0f0e985d7700bd877f3a994e1aeb27a462d
drivers/scsi/scsi_tgt_lib.c +1 -1
@@ -315,7 +315,7 @@ static int scsi_map_user_pages(struct scwhile (len >0 ) {dprintk ("%lx %u\n" , (unsigned long ) uaddr, len); - bio =bio_map_user (q,NULL , (unsigned long ) uaddr, len, rw,1 ); + bio =bio_map_user (q,NULL , (unsigned long ) uaddr, len, rw);if (IS_ERR (bio)) { err =PTR_ERR (bio); dprintk("fail to map %lx %u %d %x\n",
Signature · 1 line
1.1.5