Yeah, that patch is buggy and I think this might've been my fault actually. The fix should be:
diff --git a/fs/overlayfs/file.c b/fs/overlayfs/file.c index 9d16fff5342a..fbec523a67c9 100644 --- a/fs/overlayfs/file.c +++ b/fs/overlayfs/file.c @@ -42,6 +42,7 @@ static struct file *ovl_open_realfile(const struct file *file, int flags = file->f_flags | O_NOATIME | FMODE_NONOTIFY;
old_cred = ovl_override_creds(inode->i_sb); + ovl_path_real(file->f_path.dentry, &realpath); if (realpath.dentry->d_sb->s_magic == SHIFTFS_MAGIC) realfile = open_with_fake_path(&realpath, flags, realinode, current_cred());
Yeah, that patch is buggy and I think this might've been my fault actually. The fix should be:
diff --git a/fs/overlayfs/ file.c b/fs/overlayfs/ file.c .fbec523a67c9 100644 file.c file.c realfile( const struct file *file,
index 9d16fff5342a.
--- a/fs/overlayfs/
+++ b/fs/overlayfs/
@@ -42,6 +42,7 @@ static struct file *ovl_open_
int flags = file->f_flags | O_NOATIME | FMODE_NONOTIFY;
old_cred = ovl_override_ creds(inode- >i_sb); real(file- >f_path. dentry, &realpath); dentry- >d_sb-> s_magic == SHIFTFS_MAGIC)
realfile = open_with_ fake_path( &realpath, flags, realinode,
current_ cred()) ;
+ ovl_path_
if (realpath.