ovl: root: copy attr

commit ed06e06977 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Miklos Szeredi 2015-12-09 16:11:59 +01:00 • committed by Greg Kroah-Hartman
commit 7193e80296