summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlasdair G. Kergon <agk@redhat.com>2004-11-15 04:09:53 -0800
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-11-15 04:09:53 -0800
commit30b81706fb10abd310579954438f3bb0cd3dd91b (patch)
tree5c971682a6c968f6d6e228f11c94bf734b1cb146 /include
parentb93ddaf80b8184c1def38a8518b8fdbdd78e73e1 (diff)
[PATCH] device-mapper: Allow referencing by device number
Currently userspace code using the dm ioctls must refer to a mapped device by either its name or its uuid. But in some circumstances you know neither of those directly. This patch lets you reference devices by their major/minor numbers as an alternative. Signed-Off-By: Alasdair G Kergon <agk@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/dm-ioctl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/dm-ioctl.h b/include/linux/dm-ioctl.h
index a1f659508c30..183e777d7786 100644
--- a/include/linux/dm-ioctl.h
+++ b/include/linux/dm-ioctl.h
@@ -272,9 +272,9 @@ typedef char ioctl_struct[308];
#define DM_TARGET_MSG _IOWR(DM_IOCTL, DM_TARGET_MSG_CMD, struct dm_ioctl)
#define DM_VERSION_MAJOR 4
-#define DM_VERSION_MINOR 2
+#define DM_VERSION_MINOR 3
#define DM_VERSION_PATCHLEVEL 0
-#define DM_VERSION_EXTRA "-ioctl (2004-06-08)"
+#define DM_VERSION_EXTRA "-ioctl (2004-09-30)"
/* Status bits */
#define DM_READONLY_FLAG (1 << 0) /* In/Out */