raid0.c doesn't need the #include <linux/vmalloc.h> either (and won't 
compile for 2.0.35 with it). After that (and with the blkdev.h changes), 
it compiles for 2.0.35.

It looks like the head of md_k.h has an error, though. Presumably, the 
default should return -4, not -3:

        static inline int pers_to_level (int pers)
        {
                switch (pers) {
                        case LVM:               return -3;
                        case TRANSLUCENT:       return -2;
                        case LINEAR:            return -1;
                        case RAID0:             return 0;
                        case RAID1:             return 1;
                        case RAID5:             return 5;
                }
                return -3;
        }

Or is it intentionally defaulting to LVM?

Jorj

Reply via email to