Skip to content

Commit

Permalink
drbd: moved CN_IDX_DRBD and CN_VAL_DRBD to the right file
Browse files Browse the repository at this point in the history
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
  • Loading branch information
Philipp Reisner committed Nov 25, 2009
1 parent ad85dfe commit 35a8a3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 2 additions & 0 deletions include/linux/connector.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@
#define CN_DST_VAL 0x1
#define CN_IDX_DM 0x7 /* Device Mapper */
#define CN_VAL_DM_USERSPACE_LOG 0x1
#define CN_IDX_DRBD 0x8
#define CN_VAL_DRBD 0x1

#define CN_NETLINK_USERS 8

Expand Down
7 changes: 0 additions & 7 deletions include/linux/drbd.h
Original file line number Diff line number Diff line change
Expand Up @@ -322,13 +322,6 @@ enum drbd_timeout_flag {
#define DRBD_NL_CREATE_DEVICE 0x01
#define DRBD_NL_SET_DEFAULTS 0x02

/* The following line should be moved over to linux/connector.h
* when the time comes */
#ifndef CN_IDX_DRBD
# define CN_IDX_DRBD 0x4
/* Ubuntu "intrepid ibex" release defined CN_IDX_DRBD as 0x6 */
#endif
#define CN_VAL_DRBD 0x1

/* For searching a vacant cn_idx value */
#define CN_IDX_STEP 6977
Expand Down

0 comments on commit 35a8a3f

Please sign in to comment.