Re: linux-next: Tree for August 13 (nfsd)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Thomas Petazzoni
Date: Thursday, August 14, 2008 - 2:16 am

Le Wed, 13 Aug 2008 14:09:31 -0400,
"J. Bruce Fields" <bfields@fieldses.org> a écrit :


Here is an incremental fix.

---

Fixup configure out fs locks support

This patch adds a few more stubs required to get NFS server to compile
properly with CONFIG_FILE_LOCKING=n.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

---
 include/linux/fs.h |    2 ++
 1 file changed, 2 insertions(+)

Index: linuxdev/include/linux/fs.h
===================================================================
--- linuxdev.orig/include/linux/fs.h
+++ linuxdev/include/linux/fs.h
@@ -1050,6 +1050,8 @@
 #define __break_lease(a, b) ({ 0; })
 #define lease_get_mtime(a, b) ({ })
 #define generic_setlease(a, b, c) ({ -EINVAL; })
+#define vfs_setlease(a, b, c) ({ -EINVAL; })
+#define lease_modify(a, b) ({ -EINVAL; })
 #define lock_may_read(a, b, c) ({ 1; })
 #define lock_may_write(a, b, c) ({ 1; })
 #endif /* !CONFIG_FILE_LOCKING */


-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
linux-next: Tree for August 13, Stephen Rothwell, (Wed Aug 13, 12:24 am)
Re: linux-next: Tree for August 13, Takashi Iwai, (Wed Aug 13, 4:05 am)
Re: linux-next: Tree for August 13, Stephen Rothwell, (Wed Aug 13, 4:42 am)
Re: linux-next: Tree for August 13, Alan Cox, (Wed Aug 13, 6:08 am)
Re: linux-next: Tree for August 13, Takashi Iwai, (Wed Aug 13, 6:37 am)
Re: linux-next: Tree for August 13, Takashi Iwai, (Wed Aug 13, 7:40 am)
Re: linux-next: Tree for August 13 (nfsd), Randy Dunlap, (Wed Aug 13, 10:47 am)
Re: linux-next: Tree for August 13 (nfsd), J. Bruce Fields, (Wed Aug 13, 11:09 am)
Re: linux-next: Tree for August 13 (nfsd), Thomas Petazzoni, (Thu Aug 14, 2:16 am)
Re: linux-next: Tree for August 13, Takashi Iwai, (Thu Aug 14, 2:57 am)
Re: linux-next: Tree for August 13 (nfsd), Randy Dunlap, (Thu Aug 14, 9:44 am)
Re: linux-next: Tree for August 13 (nfsd), J. Bruce Fields, (Thu Aug 14, 3:47 pm)
Re: linux-next: Tree for August 13 (nfsd), Thomas Petazzoni, (Mon Aug 18, 4:01 am)