[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PATCH 2.5.2.9: ext2 unbork fs.h (part 1/7)


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/


この情報があなたの探していたものかどうか選択してください。
yes/まさにこれだ!   no/違うなぁ   part/一部見つかった   try/これで試してみる

あなたが探していた情報はどのようなことか、ご自由に記入下さい。特に「まさにこれだ!」と言う場合は記入をお願いします。
例:「複数のマシンからCATV経由でipmasqueradeを利用してWebを参照したい場合の設定について」
References: