Re: mm and Oops

From: Andreas Dilger (adilger@turbolinux.com)
Date: Wed Jun 27 2001 - 03:15:16 EST


Andries writes:
> After sending util-linux out, I booted a kernel that had kdev_t
> a pointer type, to see whether that still works.
> And all (minus md/lvm/nfs that didnt compile)...

Yes, LVM totally abuses kdev_t (assumes = dev_t in user space).
Changing kdev_t should force this to be cleaned up.

> The second one is the use of a special constant B_FREE
> as device value to indicate that the buffer is free.
> I'll look at this tomorrow but perhaps someone knows:
> must the constant B_FREE (used only in fs/buffer.c) be nonzero?
> If so, then we probably need a bitfield to indicate "free".
> Otherwise we can use 0 ("no device") as value.

Isn't a device = 0 used for NFS root?

Cheers, Andreas

-- 
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jun 30 2001 - 21:00:16 EST