ovl: remove posix_acl_default from workdir
commit02b7c975b7730d37e8727880c1bf6c83d7bfa5c3
authorMiklos Szeredi <mszeredi@redhat.com>
Thu, 1 Sep 2016 09:11:59 +0000 (1 11:11 +0200)
committerSasha Levin <alexander.levin@verizon.com>
Thu, 15 Sep 2016 22:53:30 +0000 (15 18:53 -0400)
tree40cafd3a96a67bb8146ab5b7b66f5dd5a1f73140
parent29c4d8dbfc793c9876db5c4193686ba6ffcb3cd6
ovl: remove posix_acl_default from workdir

[ Upstream commit c11b9fdd6a612f376a5e886505f1c54c16d8c380 ]

Clear out posix acl xattrs on workdir and also reset the mode after
creation so that an inherited sgid bit is cleared.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
fs/overlayfs/super.c