Skip to contentSkip to conversation

scsi tgt: use the original bio_map_user interface

PATCH New FUJITA Tomonori 1 participant 1 message Mar 10, 2006 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 3/6 scsi tgt: use the original bio_map_user interface

---

 drivers/scsi/scsi_tgt_lib.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

0968c0f0e985d7700bd877f3a994e1aeb27a462d

drivers/scsi/scsi_tgt_lib.c +1 -1
index 8746236..941dd64 100644
@@ -315,7 +315,7 @@ static int scsi_map_user_pages(struct sc
 
 	while (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