Re: kill i_dev

From: Alexander Viro (viro@math.psu.edu)
Date: Wed Nov 20 2002 - 19:39:35 EST


On Thu, 21 Nov 2002 Andries.Brouwer@cwi.nl wrote:

> One disadvantage of enlarging the size of dev_t is
> that struct inode grows. Bad.
> We used to have i_dev and i_rdev; today i_rdev has split into
> i_rdev, i_bdev and i_cdev. Bad.
>
> It looks like these four fields can be replaced by a single one,
> making struct inode smaller. Not bad.

No, they can't. We _can_ put i_bdev/i_cdev into union and we can
kill i_dev. However, rdev and [cb]dev will have to remain separate.

BTW, watch out for socket.c use of ->i_dev.

-
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 Nov 23 2002 - 22:00:34 EST