ovl: root: copy attr

[ Upstream commit ed06e06977 ]

We copy i_uid and i_gid of underlying inode into overlayfs inode.  Except
for the root inode.

Fix this omission.

Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Cc: <stable@vger.kernel.org>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
This commit is contained in:
Miklos Szeredi 2015-12-09 16:11:59 +01:00 • committed by Sasha Levin
commit 03e9cbc94b