Skip to content

Commit 5c44ad6

Browse files
committed
Merge branch 'overlayfs-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs
Pull overlayfs fix from Miklos Szeredi: "This fixes a regression caused by the last pull request" * 'overlayfs-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs: ovl: fix workdir creation
2 parents f4a9c16 + e1ff3dd commit 5c44ad6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fs/overlayfs/super.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -835,11 +835,11 @@ static struct dentry *ovl_workdir_create(struct vfsmount *mnt,
835835
goto out_dput;
836836

837837
err = vfs_removexattr(work, XATTR_NAME_POSIX_ACL_DEFAULT);
838-
if (err && err != -ENODATA)
838+
if (err && err != -ENODATA && err != -EOPNOTSUPP)
839839
goto out_dput;
840840

841841
err = vfs_removexattr(work, XATTR_NAME_POSIX_ACL_ACCESS);
842-
if (err && err != -ENODATA)
842+
if (err && err != -ENODATA && err != -EOPNOTSUPP)
843843
goto out_dput;
844844

845845
/* Clear any inherited mode bits */

0 commit comments

Comments
 (0)