mirror of
https://github.com/torvalds/linux.git
synced 2026-11-23 23:11:40 +00:00
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 <[email protected]> Signed-off-by: Miklos Szeredi <[email protected]> Cc: <[email protected]>