From: Eric W. Biederman Date: Tue, 18 Dec 2012 01:19:36 +0000 (-0800) Subject: efi: Fix the build with user namespaces enabled. X-Git-Tag: v3.8-rc1~75 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=992956189de58cae9f2be40585bc25105cd7c5ad;p=pandora-kernel.git efi: Fix the build with user namespaces enabled. When compiling efivars.c the build fails with: CC drivers/firmware/efivars.o drivers/firmware/efivars.c: In function ‘efivarfs_get_inode’: drivers/firmware/efivars.c:886:31: error: incompatible types when assigning to type ‘kgid_t’ from type ‘int’ make[2]: *** [drivers/firmware/efivars.o] Error 1 make[1]: *** [drivers/firmware/efivars.o] Error 2 Fix the build error by removing the duplicate initialization of i_uid and i_gid inode_init_always has already initialized them to 0. Signed-off-by: "Eric W. Biederman" Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed