Alexander Viro wrote:
> 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.
Thanks Alexandro - I actually realized it was the case yesterday evening when I
did "mount /test"
and then another "mount -f /test" and both succeeded and as a result (ok, also
because I slightly
corrupted dentry_hashtable[] :) ) all my d_count were wrong all over the place
and one of the /test
suddenly ended up in /lost+found of root. I forgot about that possibility and
thank you for reminding
me.
Besides, I think I even partially answered my own question when I mentioned
that it is much quicker
to pick up an empty superblock than allocating a new one.
Thanks,
Tigran
-
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:28 EST