ovl: remove posix_acl_default from workdir
authorMiklos Szeredi <mszeredi@redhat.com>
Thu, 1 Sep 2016 09:11:59 +0000 (11:11 +0200)
committerMiklos Szeredi <mszeredi@redhat.com>
Thu, 1 Sep 2016 09:11:59 +0000 (11:11 +0200)
commitc11b9fdd6a612f376a5e886505f1c54c16d8c380
treef4cb90cf9156ddca8b52114a887cbc4adaf92c0f
parent38b256973ea90fc7c2b7e1b734fa0e8b83538d50
ovl: remove posix_acl_default from workdir

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>
fs/overlayfs/super.c