]> git.baikalelectronics.ru Git - kernel.git/commit
rbd: passing wrong variable to bvec_kunmap_irq()
authorDan Carpenter <error27@gmail.com>
Mon, 11 Oct 2010 19:15:11 +0000 (21:15 +0200)
committerSage Weil <sage@newdream.net>
Wed, 20 Oct 2010 22:38:25 +0000 (15:38 -0700)
commite86d4cc55f9fd05092bad404c9c0d2ae2792ebab
tree7051c9532750eb81fb76e1473a09fd82ba1f314c
parentb50732741bb03dffdfb38c960a2cd7402d3121a1
rbd: passing wrong variable to bvec_kunmap_irq()

We should be passing "buf" here insead of "bv".  This is tricky because
it's not the same as kmap() and kunmap().  GCC does warn about it if you
compile on i386 with CONFIG_HIGHMEM.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Sage Weil <sage@newdream.net>
drivers/block/rbd.c