On January 7, 2002 10:25 pm, Jeff Garzik wrote: > Daniel Phillips wrote: > > The two main problems I see with this are: > > > > - If a filesystem doesn't want to use genericp_ip/sbp then fs.h has > > to know about it. Why should fs.h know about every filesystem in > > the world? > > We keep type information through this method. There is no ugly casting. There is a far uglier 1) tying of fs.h to every filesystem in the world 2) a gratuitous extra pointer dereference and 3) a pointer field wasted in every inode. In the ugly contest, you win, hands down. -- Daniel - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo _at_ vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
References:
- PATCH 2.5.2.9: ext2 unbork fs.h (part 1/7)Jeff Garzik <jgarzik _at_ mandrakesoft.com>
- Re: PATCH 2.5.2.9: ext2 unbork fs.h (part 1/7)Daniel Phillips <phillips _at_ bonn-fries.net>
- Re: PATCH 2.5.2.9: ext2 unbork fs.h (part 1/7)Jeff Garzik <jgarzik _at_ mandrakesoft.com>
- Prev by Date: Re: [s-h] Re: ALSA patch for 2.5.2pre9 kernel
- Next by Date: Re: [2.4.17/18pre] VM and swap - it's really unusable
- Previous by thread: Re: PATCH 2.5.2.9: ext2 unbork fs.h (part 1/7)
- Next by thread: Re: PATCH 2.5.2.9: ext2 unbork fs.h (part 1/7)
- Indexes:[Main][Thread]