]> git.baikalelectronics.ru Git - kernel.git/commit
ovl: copyattr after setting POSIX ACL
authorMiklos Szeredi <mszeredi@redhat.com>
Thu, 1 Sep 2016 09:12:00 +0000 (11:12 +0200)
committerMiklos Szeredi <mszeredi@redhat.com>
Thu, 1 Sep 2016 09:12:00 +0000 (11:12 +0200)
commit8a3111d69691fb9b1d92de444e08a626f8ff776b
tree22e6072f34525b1e0634a2e01f8f5fb9f2c86a1d
parent4007ffef2bbff00bd43254ac4db00bbbf3874665
ovl: copyattr after setting POSIX ACL

Setting POSIX acl may also modify the file mode, so need to copy that up to
the overlay inode.

Reported-by: Eryu Guan <eguan@redhat.com>
Fixes: 78f1aa264dbb ("ovl: fix POSIX ACL setting")
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/overlayfs/super.c