[PATCH] dm: export blkdev_driver_ioctl
[linux-2.6.git] / drivers / md / dm-mpath.c
index 14cfdb538efdcb6279742e7046b5381925c74b10..dcfbf830964cb3de1033e3a8159c3ed131dcc076 100644 (file)
@@ -1290,7 +1290,8 @@ static int multipath_ioctl(struct dm_target *ti, struct inode *inode,
 
        spin_unlock_irqrestore(&m->lock, flags);
 
-       return r ? : blkdev_ioctl(bdev->bd_inode, filp, cmd, arg);
+       return r ? : blkdev_driver_ioctl(bdev->bd_inode, filp, bdev->bd_disk,
+                    cmd, arg);
 }
 
 /*-----------------------------------------------------------------