Commit b2a833ca authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] 32/64bit device mapper ioctl maps for mips64

parent de156527
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#include <linux/auto_fs.h> #include <linux/auto_fs.h>
#include <linux/ext2_fs.h> #include <linux/ext2_fs.h>
#include <linux/raid/md_u.h> #include <linux/raid/md_u.h>
#include <linux/dm-ioctl.h>
#include <asm/types.h> #include <asm/types.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
...@@ -791,6 +792,20 @@ static struct ioctl32_list ioctl32_handler_table[] = { ...@@ -791,6 +792,20 @@ static struct ioctl32_list ioctl32_handler_table[] = {
IOCTL32_DEFAULT(RESTART_ARRAY_RW), IOCTL32_DEFAULT(RESTART_ARRAY_RW),
#endif /* CONFIG_MD */ #endif /* CONFIG_MD */
#if defined(CONFIG_BLK_DEV_DM) || defined(CONFIG_BLK_DEV_DM_MODULE)
IOCTL32_DEFAULT(DM_VERSION),
IOCTL32_DEFAULT(DM_REMOVE_ALL),
IOCTL32_DEFAULT(DM_DEV_CREATE),
IOCTL32_DEFAULT(DM_DEV_REMOVE),
IOCTL32_DEFAULT(DM_DEV_RELOAD),
IOCTL32_DEFAULT(DM_DEV_SUSPEND),
IOCTL32_DEFAULT(DM_DEV_RENAME),
IOCTL32_DEFAULT(DM_DEV_DEPS),
IOCTL32_DEFAULT(DM_DEV_STATUS),
IOCTL32_DEFAULT(DM_TARGET_STATUS),
IOCTL32_DEFAULT(DM_TARGET_WAIT),
#endif /* CONFIG_BLK_DEV_DM */
IOCTL32_DEFAULT(MTIOCTOP), /* mtio.h ioctls */ IOCTL32_DEFAULT(MTIOCTOP), /* mtio.h ioctls */
IOCTL32_HANDLER(MTIOCGET32, mt_ioctl_trans), IOCTL32_HANDLER(MTIOCGET32, mt_ioctl_trans),
IOCTL32_HANDLER(MTIOCPOS32, mt_ioctl_trans), IOCTL32_HANDLER(MTIOCPOS32, mt_ioctl_trans),
......
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