Re: [PATCH 06/28] reintroduce list of vfsmounts over superblock

From: Christoph Hellwig
Date: Thu Aug 03 2006 - 10:37:48 EST


On Tue, Aug 01, 2006 at 04:52:44PM -0700, Dave Hansen wrote:
>
> We're moving a big chunk of the burden of keeping people from
> writing to r/o filesystems from the superblock into the
> vfsmount. This requires that we consult the superblock's
> vfsmounts when things like remounts occur.
>
> So, introduce a list of vfsmounts hanging off the superblock.
> We'll use this in a bit.

I don't think we'll need it. We really need to keep is someone writing
to this vfsmount counters in addition to is someone writing to this sb.

In fact there are cases were we want a superblock to be writeable to
without any view into it being writeable, e.g. for journal recovery.

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