Re: Two VFS questions

From: Alexander Viro (viro@math.psu.edu)
Date: Thu Mar 30 2000 - 15:43:18 EST


On Tue, 28 Mar 2000, Tigran Aivazian wrote:

> 2. Why is the information about mounted filesystems split into two
> separate entities 'struct super_block' and 'struct vfsoumnt'? Can't we
> merge the two lists into one? I used to think that superblocks
> and vfsmnt entities have different lifetimes but no longer think so, which
> raises this question. The obvious reason why would one want to merge them
> is, for example, to save 12 bytes (on 32bit arch) per each mounted

Stop it. Now. The obvious reason _not_ to do it is the difference between
the filesystem and mounting it. IOW, you _refer_ to superblock from
vfsmount. Nobody promises that you'll have only one mountpoint for given
filesystem.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 21:00:27 EST