]> git.openfabrics.org - ~shefty/rdma-dev.git/blobdiff - drivers/firmware/efivars.c
efi: Fix the build with user namespaces enabled.
[~shefty/rdma-dev.git] / drivers / firmware / efivars.c
index 52c5d8956d7dfa02ea332985e31528648f26fe59..7b1c37497c9a2683569f8a1ac9c959e8d5bc7636 100644 (file)
@@ -883,7 +883,6 @@ static struct inode *efivarfs_get_inode(struct super_block *sb,
 
        if (inode) {
                inode->i_ino = get_next_ino();
-               inode->i_uid = inode->i_gid = 0;
                inode->i_mode = mode;
                inode->i_atime = inode->i_mtime = inode->i_ctime = CURRENT_TIME;
                switch (mode & S_IFMT) {