mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
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: Dan Carpenter <error27@gmail.com> Acked-by: Geoff Levand <geoff@infradead.org> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
This commit is contained in:
parent
29979aa8bd
commit
93055c3104
@ -113,7 +113,7 @@ static void ps3disk_scatter_gather(struct ps3_storage_device *dev,
|
|||||||
memcpy(buf, dev->bounce_buf+offset, size);
|
memcpy(buf, dev->bounce_buf+offset, size);
|
||||||
offset += size;
|
offset += size;
|
||||||
flush_kernel_dcache_page(bvec->bv_page);
|
flush_kernel_dcache_page(bvec->bv_page);
|
||||||
bvec_kunmap_irq(bvec, &flags);
|
bvec_kunmap_irq(buf, &flags);
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user