On Thursday 28 June 2001 03:48, Alexander Viro wrote:
> On Thu, 28 Jun 2001, Daniel Phillips wrote:
> > > Advantages: no extra memory use, no indirection, no memory allocation
> > > overhead.
> >
> > An advantage you overlooked: clean up fs.h so it doesn't have to include
> > every filesystem in the known universe.
> >
> > All of this also applies to struct super_block.
>
> ... in both schemes. Think for a second - you don't need to include
> anything into fs.h to have
>       void *i_private;        /* pointer to fs-private data */
> in struct inode. IOW, that's not an advantage at all - they are not
> different in that respect.

Yes indeed, both are huge improvements over the union and both require 
changes to every filesystem.  Given that equivalence I'd prefer the one that 
runs faster and uses less memory.

--
Daniel
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to [EMAIL PROTECTED]

Reply via email to