Revision 655042cc1406fcec20aa7ffd7d790ada18ac5211 authored by Vivek Goyal on 14 October 2016, 01:03:36 UTC, committed by Al Viro on 15 October 2016, 00:00:34 UTC
ovl_fill_super calls ovl_new_inode to create a root inode for the new superblock before initializing sb->s_xattr. This wrongly causes IOP_XATTR to be cleared in i_opflags of the new inode, causing SELinux to log the following message: SELinux: (dev overlay, type overlay) has no xattr support Fix this by initializing sb->s_xattr and similar fields before calling ovl_new_inode. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent ffecee4
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 188 bytes |
Makefile | -rw-r--r-- | 321 bytes |
acl.c | -rw-r--r-- | 4.1 KB |
dcache.c | -rw-r--r-- | 3.6 KB |
devorangefs-req.c | -rw-r--r-- | 22.4 KB |
dir.c | -rw-r--r-- | 10.0 KB |
downcall.h | -rw-r--r-- | 3.0 KB |
file.c | -rw-r--r-- | 19.0 KB |
inode.c | -rw-r--r-- | 11.1 KB |
namei.c | -rw-r--r-- | 12.1 KB |
orangefs-bufmap.c | -rw-r--r-- | 12.6 KB |
orangefs-bufmap.h | -rw-r--r-- | 806 bytes |
orangefs-cache.c | -rw-r--r-- | 4.2 KB |
orangefs-debug.h | -rw-r--r-- | 2.7 KB |
orangefs-debugfs.c | -rw-r--r-- | 25.5 KB |
orangefs-debugfs.h | -rw-r--r-- | 309 bytes |
orangefs-dev-proto.h | -rw-r--r-- | 2.3 KB |
orangefs-kernel.h | -rw-r--r-- | 16.2 KB |
orangefs-mod.c | -rw-r--r-- | 6.1 KB |
orangefs-sysfs.c | -rw-r--r-- | 31.5 KB |
orangefs-sysfs.h | -rw-r--r-- | 77 bytes |
orangefs-utils.c | -rw-r--r-- | 17.7 KB |
protocol.h | -rw-r--r-- | 13.4 KB |
super.c | -rw-r--r-- | 15.2 KB |
symlink.c | -rw-r--r-- | 454 bytes |
upcall.h | -rw-r--r-- | 6.6 KB |
waitqueue.c | -rw-r--r-- | 9.8 KB |
xattr.c | -rw-r--r-- | 12.6 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...