Commit 927d9ae6 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] device mapper ioctls for ppc64

parent ce6c6213
......@@ -66,6 +66,7 @@
#if defined(CONFIG_BLK_DEV_LVM) || defined(CONFIG_BLK_DEV_LVM_MODULE)
#include <linux/lvm.h>
#endif /* LVM */
#include <linux/dm-ioctl.h>
#include <scsi/scsi.h>
/* Ugly hack. */
......@@ -4402,6 +4403,18 @@ COMPATIBLE_IOCTL(NBD_CLEAR_QUE),
COMPATIBLE_IOCTL(NBD_PRINT_DEBUG),
COMPATIBLE_IOCTL(NBD_SET_SIZE_BLOCKS),
COMPATIBLE_IOCTL(NBD_DISCONNECT),
/* device-mapper */
COMPATIBLE_IOCTL(DM_VERSION),
COMPATIBLE_IOCTL(DM_REMOVE_ALL),
COMPATIBLE_IOCTL(DM_DEV_CREATE),
COMPATIBLE_IOCTL(DM_DEV_REMOVE),
COMPATIBLE_IOCTL(DM_DEV_RELOAD),
COMPATIBLE_IOCTL(DM_DEV_SUSPEND),
COMPATIBLE_IOCTL(DM_DEV_RENAME),
COMPATIBLE_IOCTL(DM_DEV_DEPS),
COMPATIBLE_IOCTL(DM_DEV_STATUS),
COMPATIBLE_IOCTL(DM_TARGET_STATUS),
COMPATIBLE_IOCTL(DM_TARGET_WAIT),
/* And these ioctls need translation */
HANDLE_IOCTL(MEMREADOOB32, mtd_rw_oob),
HANDLE_IOCTL(MEMWRITEOOB32, mtd_rw_oob),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment