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)
commitce31513a9114f74fe3e9caa6534d201bdac7238d
tree22e6072f34525b1e0634a2e01f8f5fb9f2c86a1d
parent0e585ccc13b3edbb187fb4f1b7cc9397f17d64a9
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: d837a49bd57f ("ovl: fix POSIX ACL setting")
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/overlayfs/super.c