Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758691AbYJXBST (ORCPT ); Thu, 23 Oct 2008 21:18:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752712AbYJXBR7 (ORCPT ); Thu, 23 Oct 2008 21:17:59 -0400 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 Date: Thu, 23 Oct 2008 18:17:01 -0700 From: Randy Dunlap To: Stephen Rothwell Cc: linux-next@vger.kernel.org, LKML , akpm Subject: [PATCH] nfsctl: credentials error Message-Id: <20081023181701.7f236519.randy.dunlap@oracle.com> In-Reply-To: <20081023213637.eff9b414.sfr@canb.auug.org.au> References: <20081023213637.eff9b414.sfr@canb.auug.org.au> Organization: Oracle Linux Eng. X-Mailer: Sylpheed 2.5.0 (GTK+ 2.12.0; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 891 Lines: 29 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/