From mboxrd@z Thu Jan 1 00:00:00 1970 From: Randy Dunlap Subject: [PATCH] nfsctl: credentials error Date: Thu, 23 Oct 2008 18:17:01 -0700 Message-ID: <20081023181701.7f236519.randy.dunlap@oracle.com> References: <20081023213637.eff9b414.sfr@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from agminet01.oracle.com ([141.146.126.228]:58883 "EHLO agminet01.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751673AbYJXBR7 (ORCPT ); Thu, 23 Oct 2008 21:17:59 -0400 In-Reply-To: <20081023213637.eff9b414.sfr@canb.auug.org.au> Sender: linux-next-owner@vger.kernel.org List-ID: To: Stephen Rothwell Cc: linux-next@vger.kernel.org, LKML , akpm From: Randy Dunlap Needs headers help for current_cred: Adding only cred.h wasn't enough. linux-next-20081023/fs/nfsctl.c:45: error: implicit declaration of function 'current_cred' Signed-off-by: Randy Dunlap --- fs/nfsctl.c | 2 ++ 1 file changed, 2 insertions(+) --- linux-next-20081023.orig/fs/nfsctl.c +++ linux-next-20081023/fs/nfsctl.c @@ -10,6 +10,8 @@ #include #include #include +#include +#include #include #include #include