Commit d03ca582 authored by Eric W. Biederman's avatar Eric W. Biederman

userns: Convert ipathfs to use GLOBAL_ROOT_UID and GLOBAL_ROOT_GID

Acked-by: default avatarMike Marciniszyn <mike.marciniszyn@intel.com>
Acked-by: default avatarSerge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: default avatarEric W. Biederman <ebiederm@xmission.com>
parent 2f83ffa8
...@@ -61,8 +61,8 @@ static int qibfs_mknod(struct inode *dir, struct dentry *dentry, ...@@ -61,8 +61,8 @@ static int qibfs_mknod(struct inode *dir, struct dentry *dentry,
inode->i_ino = get_next_ino(); inode->i_ino = get_next_ino();
inode->i_mode = mode; inode->i_mode = mode;
inode->i_uid = 0; inode->i_uid = GLOBAL_ROOT_UID;
inode->i_gid = 0; inode->i_gid = GLOBAL_ROOT_GID;
inode->i_blocks = 0; inode->i_blocks = 0;
inode->i_atime = CURRENT_TIME; inode->i_atime = CURRENT_TIME;
inode->i_mtime = inode->i_atime; inode->i_mtime = inode->i_atime;
......
...@@ -960,7 +960,6 @@ config UIDGID_CONVERTED ...@@ -960,7 +960,6 @@ config UIDGID_CONVERTED
depends on !UML || HOSTFS = n depends on !UML || HOSTFS = n
# The rare drivers that won't build # The rare drivers that won't build
depends on INFINIBAND_QIB = n
depends on BLK_DEV_LOOP = n depends on BLK_DEV_LOOP = n
depends on ANDROID_BINDER_IPC = n depends on ANDROID_BINDER_IPC = n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment