Revert last commit. It built the kernel module just fine, but broke
world in /sbin. Reported by: erwin Pointy hat to: grog
This commit is contained in:
parent
5774cead7a
commit
692db2e5c9
@ -126,6 +126,16 @@ enum constants {
|
||||
|
||||
#define OBJTYPE(x) ((minor(x) >> VINUM_TYPE_SHIFT) & 3)
|
||||
|
||||
/* Create device minor numbers */
|
||||
#define VINUMDEV(o, t) makedev (VINUM_CDEV_MAJOR, VINUMMINOR (o, t))
|
||||
|
||||
#define VINUM_VOL(v) makedev (VINUM_CDEV_MAJOR, \
|
||||
VINUMMINOR (v, VINUM_VOLUME_TYPE))
|
||||
#define VINUM_PLEX(p) makedev (VINUM_CDEV_MAJOR, \
|
||||
VINUMMINOR (p, VINUM_PLEX_TYPE))
|
||||
#define VINUM_SD(s) makedev (VINUM_CDEV_MAJOR, \
|
||||
VINUMMINOR (s, VINUM_SD_TYPE))
|
||||
|
||||
/* extract device type */
|
||||
#define DEVTYPE(x) ((minor (x) >> VINUM_TYPE_SHIFT) & 3)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user