More from Christoph...
"fix some of the stuff I complained about on the evms patch and more:
- don't include <linux/major.h>, instead have the major numbers locally
- in addition always check for the actually used major (like xvm)
- use major() to get the major number instead of direct shifts (like xvm)
- drop the old md.h and replace with a small version containing only
what we need"
Date: Thu Aug 1 11:38:43 PDT 2002
Workarea:
stout.americas.sgi.com:/localhome/src/sandeen/2.4.x-xfs/workarea-alwaysclean
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs
Modid: xfs-cmds:slinx:124150a
cmd/xfsprogs/libdisk/md.c - 1.7
- use major() to get the major number instead of direct shifts
Also use get_driver_block_major to check device number
cmd/xfsprogs/libdisk/md.h - 1.2
- drop the old md.h and replace with a small version
containing only what we need.
cmd/xfsprogs/libdisk/lvm.c - 1.7
- don't include <linux/major.h>, use local major numbers
use major() to get the major number instead of direct shifts
Also use get_driver_block_major to check device number
|