commit | b81de061fa59f17d2730aabb1b84419ef3913810 | [log] [tgz] |
---|---|---|
author | Konstantin Khlebnikov <koct9i@gmail.com> | Sun Jan 31 16:21:29 2016 +0300 |
committer | Miklos Szeredi <miklos@szeredi.hu> | Thu Mar 03 17:17:46 2016 +0100 |
tree | d861fedc4ab91b88d225fff34f292bd7c465f6d2 | |
parent | 45d11738969633ec07ca35d75d486bf2d8918df6 [diff] |
ovl: copy new uid/gid into overlayfs runtime inode Overlayfs must update uid/gid after chown, otherwise functions like inode_owner_or_capable() will check user against stale uid. Catched by xfstests generic/087, it chowns file and calls utimes. Signed-off-by: Konstantin Khlebnikov <koct9i@gmail.com> Signed-off-by: Miklos Szeredi <miklos@szeredi.hu> Cc: <stable@vger.kernel.org>