android_kernel_oneplus_msm8998/fs/overlayfs
Miklos Szeredi 2f949da9c0 ovl: fix workdir creation
commit e1ff3dd1ae52cef5b5373c8cc4ad949c2c25a71c upstream.

Workdir creation fails in latest kernel.

Fix by allowing EOPNOTSUPP as a valid return value from
vfs_removexattr(XATTR_NAME_POSIX_ACL_*).  Upper filesystem may not support
ACL and still be perfectly able to support overlayfs.

Reported-by: Martin Ziegler <ziegler@uni-freiburg.de>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Fixes: c11b9fdd6a61 ("ovl: remove posix_acl_default from workdir")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-09-15 08:27:52 +02:00
..
copy_up.c ovl: don't copy up opaqueness 2016-09-15 08:27:52 +02:00
dir.c ovl: verify upper dentry before unlink and rename 2016-07-27 09:47:40 -07:00
inode.c ovl: listxattr: use strnlen() 2016-09-15 08:27:52 +02:00
Kconfig ovl: rename filesystem type to "overlay" 2014-11-20 16:39:59 +01:00
Makefile ovl: rename filesystem type to "overlay" 2014-11-20 16:39:59 +01:00
overlayfs.h ovl: don't copy up opaqueness 2016-09-15 08:27:52 +02:00
readdir.c ovl: check dentry positiveness in ovl_cleanup_whiteouts() 2016-02-25 12:01:24 -08:00
super.c ovl: fix workdir creation 2016-09-15 08:27:52 +02:00