aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/qib
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2012-04-25 22:40:44 -0700
committerEric W. Biederman <ebiederm@xmission.com>2012-09-21 03:13:19 -0700
commitd03ca5820d84090f47ce831df619f2fff66eb52b (patch)
treee9211352f991d2d8579ca8650b4bf0e45870b90e /drivers/infiniband/hw/qib
parent2f83ffa874ccb6ea4596220188d3e54b20203124 (diff)
downloadkernel_goldelico_gta04-d03ca5820d84090f47ce831df619f2fff66eb52b.zip
kernel_goldelico_gta04-d03ca5820d84090f47ce831df619f2fff66eb52b.tar.gz
kernel_goldelico_gta04-d03ca5820d84090f47ce831df619f2fff66eb52b.tar.bz2
userns: Convert ipathfs to use GLOBAL_ROOT_UID and GLOBAL_ROOT_GID
Acked-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Acked-by: Serge Hallyn <serge.hallyn@canonical.com> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'drivers/infiniband/hw/qib')
-rw-r--r--drivers/infiniband/hw/qib/qib_fs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/qib/qib_fs.c b/drivers/infiniband/hw/qib/qib_fs.c
index cff8a6c..65a2a23 100644
--- a/drivers/infiniband/hw/qib/qib_fs.c
+++ b/drivers/infiniband/hw/qib/qib_fs.c
@@ -61,8 +61,8 @@ static int qibfs_mknod(struct inode *dir, struct dentry *dentry,
inode->i_ino = get_next_ino();
inode->i_mode = mode;
- inode->i_uid = 0;
- inode->i_gid = 0;
+ inode->i_uid = GLOBAL_ROOT_UID;
+ inode->i_gid = GLOBAL_ROOT_GID;
inode->i_blocks = 0;
inode->i_atime = CURRENT_TIME;
inode->i_mtime = inode->i_atime;