Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 93055c31 authored by Dan Carpenter's avatar Dan Carpenter Committed by Jens Axboe
Browse files

ps3disk: passing wrong variable to bvec_kunmap_irq()



This should pass "buf" to bvec_kunmap_irq() instead of "bv".  The api is
like kmap_atomic() instead of kmap().

Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
Acked-by: default avatarGeoff Levand <geoff@infradead.org>
Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
parent 29979aa8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -113,7 +113,7 @@ static void ps3disk_scatter_gather(struct ps3_storage_device *dev,
			memcpy(buf, dev->bounce_buf+offset, size);
		offset += size;
		flush_kernel_dcache_page(bvec->bv_page);
		bvec_kunmap_irq(bvec, &flags);
		bvec_kunmap_irq(buf, &flags);
		i++;
	}
}