[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOssrKdYcqQTnYjWFhF1hJOBDqu7NwZhGvxbQA=ZbLoFYw9SKA@mail.gmail.com>
Date: Mon, 7 May 2018 12:29:37 +0200
From: Miklos Szeredi <mszeredi@...hat.com>
To: Amir Goldstein <amir73il@...il.com>
Cc: overlayfs <linux-unionfs@...r.kernel.org>,
linux-fsdevel <linux-fsdevel@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
Al Viro <viro@...iv.linux.org.uk>
Subject: Re: [PATCH v2 22/35] vfs: don't open real
On Mon, May 7, 2018 at 12:27 PM, Amir Goldstein <amir73il@...il.com> wrote:
> On Mon, May 7, 2018 at 11:37 AM, Miklos Szeredi <mszeredi@...hat.com> wrote:
>> Let overlayfs do its thing when opening a file.
>>
>> This enables stacking and fixes the corner case when a file is opened for
>> read, modified through a writable open, and data is read from the read-only
>> file. After this patch the read-only open will not return stale data even
>> in this case.
>>
>
> So now you can get rid of ovl_do_check_copy_up() and the check_copy_up
> module param ;-)
Ah, forgot about that one. Indeed.
Thanks,
Miklos
Powered by blists - more mailing lists