Re: [PATCH 0/6] overlay filesystem prototype

From: Neil Brown
Date: Sun Sep 05 2010 - 07:45:32 EST


On Sun, 05 Sep 2010 19:37:10 +0900
"J. R. Okajima" <hooanon05@xxxxxxxxxxx> wrote:

>
> Miklos Szeredi:
> > Changes since the last version:
> :::
> > - get write ref on the upper layer on mount unless the overlay
> > itself is mounted read-only
>
> I think it a good approach.
> Although it may be harmless, write-ref will not be put when a user
> executes,
> - mount -o ro /overlay
^remount, I assume
> - umount /overlay
> It will be easy to fix by implementing s_op->remount().

Something like this?

(I have a few other patches queued up, but haven't tested anything properly
yet).

NeilBrown