summaryrefslogtreecommitdiffstats
path: root/fs/isofs/rock.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2012-02-10 11:35:50 -0800
committerEric W. Biederman <ebiederm@xmission.com>2012-09-21 03:13:12 -0700
commitba64e2b9e368fbe588ed5e3bb1494cc1dc4664a4 (patch)
tree0651712f5b75e584b52570ad6cb6bc26b0b9523c /fs/isofs/rock.c
parent16525e3f146fbba1ae43740c7d3895d4f396a768 (diff)
downloadlinux-stable-ba64e2b9e368fbe588ed5e3bb1494cc1dc4664a4.tar.gz
linux-stable-ba64e2b9e368fbe588ed5e3bb1494cc1dc4664a4.tar.bz2
linux-stable-ba64e2b9e368fbe588ed5e3bb1494cc1dc4664a4.zip
userns: Convert isofs to use kuid/kgid where appropriate
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'fs/isofs/rock.c')
-rw-r--r--fs/isofs/rock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/isofs/rock.c b/fs/isofs/rock.c
index 70e79d0c756a..c0bf42472e40 100644
--- a/fs/isofs/rock.c
+++ b/fs/isofs/rock.c
@@ -364,8 +364,8 @@ repeat:
case SIG('P', 'X'):
inode->i_mode = isonum_733(rr->u.PX.mode);
set_nlink(inode, isonum_733(rr->u.PX.n_links));
- inode->i_uid = isonum_733(rr->u.PX.uid);
- inode->i_gid = isonum_733(rr->u.PX.gid);
+ i_uid_write(inode, isonum_733(rr->u.PX.uid));
+ i_gid_write(inode, isonum_733(rr->u.PX.gid));
break;
case SIG('P', 'N'):
{