Gmane
From: Con Kolivas <kernel <at> kolivas.org>
Subject: Re: 2.6.15.5 Compile error
Newsgroups: gmane.linux.kernel
Date: 2006-03-02 03:12:40 GMT (3 years, 18 weeks, 1 hour and 25 minutes ago)
On Thu, 2 Mar 2006 01:49 am, Mark L. Fugate wrote:
> To whom it may concern:
>
> I received the following compile error while compiling the 2.6.15.5
> kernel. My .config is attached.

That looks like a silly oversight.

Try this patch.

Cheers,
Con
---
Build fix for direct.c

Signed-off-by: Con Kolivas <kernel <at> kolivas.org>

 fs/nfs/direct.c |    2 ++
 1 file changed, 2 insertions(+)

Index: linux-2.6.15-ck5/fs/nfs/direct.c
===================================================================
--- linux-2.6.15-ck5.orig/fs/nfs/direct.c	2006-03-02 13:06:57.000000000 +1100
+++ linux-2.6.15-ck5/fs/nfs/direct.c	2006-03-02 13:55:28.000000000 +1100
@@ -73,6 +73,8 @@ struct nfs_direct_req {
 				error;		/* any reported error */
 };

+static void
+nfs_free_user_pages(struct page **pages, int npages, int do_dirty);

 /**
  * nfs_get_user_pages - find and set up pages underlying user's buffer