Re: PATCH: fix-readonly-policy-use-and-floppy-ro-rw-status

From: Jon Masters
Date: Sat Nov 05 2005 - 13:51:30 EST


On 11/5/05, Al Viro <viro@xxxxxxxxxxxxxxxx> wrote:
> On Sat, Nov 05, 2005 at 06:40:28PM +0000, Jon Masters wrote:
> > And as I said, the situation as it stands leads to potential data
> > corruption but I agree with you - we need a VFS callback to handle
> > readwrite/readonly change on remount I think. Comments?

> It's not that simple. Filesystem side of ro/rw transitions is
> messy as hell

Agreed.

> "VFS callback" won't be enough.

Although strangely enough other similar stuff in the remount path
works just fine. I can already request that a filesystem gets
remounted read-only - what's so wrong with forcing that behaviour when
I ask for an impossible combination?

Jon.
-
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/