Re: [GIT] NFS client fixes for 2.6.23++

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Olof Johansson
Date: Friday, October 19, 2007 - 6:41 pm

nfs: Fix build break with CONFIG_NFS_V4=n

Signed-off-by: Olof Johansson <olof@lixom.net>

---


On Fri, Oct 19, 2007 at 05:23:13PM -0400, Trond Myklebust wrote:
[...]

This gives me build errors on most PPC defconfigs, which don't enable NFSv4.

This seems sufficient to fix it.


diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h
index a4e3b96..b35069a 100644
--- a/fs/nfs/nfs4_fs.h
+++ b/fs/nfs/nfs4_fs.h
@@ -236,6 +236,7 @@ extern struct svc_version nfs4_callback_version1;
 #else
 
 #define nfs4_close_state(a, b, c) do { } while (0)
+#define nfs4_close_sync(a, b, c) do { } while (0)
 
 #endif /* CONFIG_NFS_V4 */
 #endif /* __LINUX_FS_NFS_NFS4_FS.H */
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[GIT] NFS client fixes for 2.6.23++, Trond Myklebust, (Fri Oct 19, 2:23 pm)
Re: [GIT] NFS client fixes for 2.6.23++, Olof Johansson, (Fri Oct 19, 6:41 pm)
Re: [GIT] NFS client fixes for 2.6.23++ , Erez Zadok, (Fri Oct 19, 7:19 pm)
Re: [GIT] NFS client fixes for 2.6.23++ , Linus Torvalds, (Fri Oct 19, 7:32 pm)
Re: [GIT] NFS client fixes for 2.6.23++ , Erez Zadok, (Fri Oct 19, 7:44 pm)
Re: [GIT] NFS client fixes for 2.6.23++ , Linus Torvalds, (Fri Oct 19, 7:57 pm)
Re: [GIT] NFS client fixes for 2.6.23++ , Erez Zadok, (Fri Oct 19, 9:02 pm)
Re: [NFS] [GIT] NFS client fixes for 2.6.23++, Trond Myklebust, (Sat Oct 20, 10:22 am)
Re: [NFS] [GIT] NFS client fixes for 2.6.23++, Trond Myklebust, (Sat Oct 20, 10:24 am)