Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753804AbYKSTf1 (ORCPT ); Wed, 19 Nov 2008 14:35:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752073AbYKSTfP (ORCPT ); Wed, 19 Nov 2008 14:35:15 -0500 Received: from acsinet12.oracle.com ([141.146.126.234]:18283 "EHLO acsinet12.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752029AbYKSTfN (ORCPT ); Wed, 19 Nov 2008 14:35:13 -0500 Date: Wed, 19 Nov 2008 11:33:52 -0800 From: Randy Dunlap To: Stephen Rothwell , dhowells@redhat.com, akpm Cc: linux-next@vger.kernel.org, LKML Subject: [PATCH -next resend] nfsctl: add headers for credentials Message-Id: <20081119113352.a92b5640.randy.dunlap@oracle.com> In-Reply-To: <20081119175917.7d21cf77.sfr@canb.auug.org.au> References: <20081119175917.7d21cf77.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-Source-IP: acsmt705.oracle.com [141.146.40.83] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090204.49246A25.0160:SCFSTAT928724,ss=1,fgs=0 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-20081119.orig/fs/nfsctl.c +++ linux-next-20081119/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/