diff options
Diffstat (limited to 'arch/parisc/hpux/fs.c')
-rw-r--r-- | arch/parisc/hpux/fs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/parisc/hpux/fs.c b/arch/parisc/hpux/fs.c index 0dc8543acb4f..c71eb6c79897 100644 --- a/arch/parisc/hpux/fs.c +++ b/arch/parisc/hpux/fs.c | |||
@@ -159,8 +159,8 @@ static int cp_hpux_stat(struct kstat *stat, struct hpux_stat64 __user *statbuf) | |||
159 | tmp.st_ino = stat->ino; | 159 | tmp.st_ino = stat->ino; |
160 | tmp.st_mode = stat->mode; | 160 | tmp.st_mode = stat->mode; |
161 | tmp.st_nlink = stat->nlink; | 161 | tmp.st_nlink = stat->nlink; |
162 | tmp.st_uid = stat->uid; | 162 | tmp.st_uid = from_kuid_munged(current_user_ns(), stat->uid); |
163 | tmp.st_gid = stat->gid; | 163 | tmp.st_gid = from_kgid_munged(current_user_ns(), stat->gid); |
164 | tmp.st_rdev = new_encode_dev(stat->rdev); | 164 | tmp.st_rdev = new_encode_dev(stat->rdev); |
165 | tmp.st_size = stat->size; | 165 | tmp.st_size = stat->size; |
166 | tmp.st_atime = stat->atime.tv_sec; | 166 | tmp.st_atime = stat->atime.tv_sec; |