aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Reisner <philipp.reisner@linbit.com>2009-11-25 11:50:00 -0500
committerPhilipp Reisner <philipp.reisner@linbit.com>2009-11-25 11:57:36 -0500
commit35a8a3fdcd4f973a5430e868f2f2a5c363803a5b (patch)
treebdf7e2d8c7ae482251b348e526fa1260f67f3eef
parentad85dfe67bbf13d5fa20764e4ce801a1e6e526d8 (diff)
drbd: moved CN_IDX_DRBD and CN_VAL_DRBD to the right file
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
-rw-r--r--include/linux/connector.h2
-rw-r--r--include/linux/drbd.h7
2 files changed, 2 insertions, 7 deletions
diff --git a/include/linux/connector.h b/include/linux/connector.h
index 3a14615fd35..72ba63eb83c 100644
--- a/include/linux/connector.h
+++ b/include/linux/connector.h
@@ -43,6 +43,8 @@
43#define CN_DST_VAL 0x1 43#define CN_DST_VAL 0x1
44#define CN_IDX_DM 0x7 /* Device Mapper */ 44#define CN_IDX_DM 0x7 /* Device Mapper */
45#define CN_VAL_DM_USERSPACE_LOG 0x1 45#define CN_VAL_DM_USERSPACE_LOG 0x1
46#define CN_IDX_DRBD 0x8
47#define CN_VAL_DRBD 0x1
46 48
47#define CN_NETLINK_USERS 8 49#define CN_NETLINK_USERS 8
48 50
diff --git a/include/linux/drbd.h b/include/linux/drbd.h
index 99a4d76694e..e84f4733cb5 100644
--- a/include/linux/drbd.h
+++ b/include/linux/drbd.h
@@ -322,13 +322,6 @@ enum drbd_timeout_flag {
322#define DRBD_NL_CREATE_DEVICE 0x01 322#define DRBD_NL_CREATE_DEVICE 0x01
323#define DRBD_NL_SET_DEFAULTS 0x02 323#define DRBD_NL_SET_DEFAULTS 0x02
324 324
325/* The following line should be moved over to linux/connector.h
326 * when the time comes */
327#ifndef CN_IDX_DRBD
328# define CN_IDX_DRBD 0x4
329/* Ubuntu "intrepid ibex" release defined CN_IDX_DRBD as 0x6 */
330#endif
331#define CN_VAL_DRBD 0x1
332 325
333/* For searching a vacant cn_idx value */ 326/* For searching a vacant cn_idx value */
334#define CN_IDX_STEP 6977 327#define CN_IDX_STEP 6977