]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drbd: Use more generic constant names
authorAndreas Gruenbacher <agruen@linbit.com>
Thu, 12 May 2011 23:24:14 +0000 (01:24 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 8 Nov 2012 15:55:54 +0000 (16:55 +0100)
These constants are useful for the same purpose in more than one place.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
include/linux/drbd_limits.h

index 8f8bbea545e0aaa1ab34a4546dc659addf890b30..3627f760966eed9d8fb2a071f6bc135aefcfa197 100644 (file)
 #define DRBD_AL_EXTENTS_MAX  6433
 #define DRBD_AL_EXTENTS_DEF  127
 
-#define DRBD_RESYNC_AFTER_MIN  -1
-#define DRBD_RESYNC_AFTER_MAX  (1<<30)
-#define DRBD_RESYNC_AFTER_DEF  -1
-#define DRBD_RESYNC_AFTER_SCALE '1'
+#define DRBD_MINOR_NUMBER_MIN  -1
+#define DRBD_MINOR_NUMBER_MAX  (1<<30)
+#define DRBD_MINOR_NUMBER_DEF  -1
+#define DRBD_MINOR_NUMBER_SCALE '1'
 
 /* } */