Re: overlayfs in 4.12-rc1. Files in lower become unwritable in the overlay

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 16, 2017 at 10:02 AM, Miklos Szeredi <miklos@xxxxxxxxxx> wrote:
> On Mon, May 15, 2017 at 11:52 PM, Amir Goldstein <amir73il@xxxxxxxxx> wrote:
>> On Mon, May 15, 2017 at 8:57 PM, Miklos Szeredi <miklos@xxxxxxxxxx> wrote:
>
>>> Thanks for the report.  Fix pushed to overlayfs-next branch of
>>> git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git
>>>
>>
>> I don't see the fix on the branch..
>
> Sorry, forgot to push.  Done now.
>

Fix looks ok, but I wonder: upper fs with no xattr support is really a crippled
case we only need to support for backward compat. right?

How about pre testing the noxattr condition on mount time (on workdir)
and issue a warning at mount time along the same lines of:
   pr_warn("overlayfs: upper fs needs to support d_type.\n");
   pr_warn("overlayfs: upper fs does not support tmpfile.\n");
   pr_warn("overlayfs: upper fs does not support xattr.\n");
--
To unsubscribe from this list: send the line "unsubscribe linux-unionfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystems Devel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux