Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1530499

Re: [PATCH] ovl: tentative fix for broken vfs_open() on stacked overlayfs.

From Quentin Casasnovas <quentin.casasnovas@oracle.com>
Newsgroups linux.kernel
Subject Re: [PATCH] ovl: tentative fix for broken vfs_open() on stacked overlayfs.
Date 2016-11-25 20:30 +0100
Message-ID <sHum6-4EJ-11@gated-at.bofh.it> (permalink)
References <sHq8N-1SA-29@gated-at.bofh.it> <sHsaB-3mU-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Fri, Nov 25, 2016 at 06:09:23PM +0100, Quentin Casasnovas wrote:
> If two overlayfs filesystems are stacked on top of each other, then we need
> to recurse when opening a file.  This used to work and was first broken by:
> 
>   4bacc9c9234c ("overlayfs: Make f_path always point to the overlay...")
> 
> and fixed by:
> 
>   1c8a47df36d7 ("ovl: fix open in stacked overlay")
> 
> But it looks like it was re-introduced in:
> 
>   2d902671ce1c ("vfs: merge .d_select_inode() into .d_real()")
> 
> I know close to nothing about VFS/overlayfs

And indeed I've proven it here - this tentative patch doesn't work for the
general case, it just fixes the simple test case embedded in the commit
description.

Any help appreciated!
Q

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

opening a file on a stacked overlayfs is broken. Quentin Casasnovas <quentin.casasnovas@oracle.com> - 2016-11-25 16:00 +0100
  [PATCH] ovl: tentative fix for broken vfs_open() on stacked overlayfs. Quentin Casasnovas <quentin.casasnovas@oracle.com> - 2016-11-25 18:10 +0100
    Re: [PATCH] ovl: tentative fix for broken vfs_open() on stacked  overlayfs. Quentin Casasnovas <quentin.casasnovas@oracle.com> - 2016-11-25 20:30 +0100
      Re: [PATCH] ovl: tentative fix for broken vfs_open() on stacked  overlayfs. Miklos Szeredi <miklos@szeredi.hu> - 2016-11-28 10:50 +0100
        Re: [PATCH] ovl: tentative fix for broken vfs_open() on stacked  overlayfs. Quentin Casasnovas <quentin.casasnovas@oracle.com> - 2016-11-28 12:10 +0100

csiph-web