Skip to contentSkip to conversation

Get 2.5.48 UML to compile with CONFIG_NFSD=y

PATCH In review Bryan O'Sullivan 2 participants 2 messages Nov 21, 2002 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Get 2.5.48 UML to compile with CONFIG_NFSD=y

There's a typo in the user-mode-linux syscall table that causes a compilation failure with the NFS server enabled. The attached patch applies to BK-current and fixes the problem.

	<b

==== //depot/linux-2.5-bos/arch/um/kernel/sys_call_table.c#1 - /export/bos/p4/linux-2.5-bos/arch/um/kernel/sys_call_table.c ====
Index: linux-2.5-bos/arch/um/kernel/sys_call_table.c

arch/um/kernel/sys_call_table.c renamed from arch/um/kernel/sys_call_table.c.~1~ +1 -1
@@ -238,7 +238,7 @@
 extern syscall_handler_t sys_remap_file_pages;
 
 #if CONFIG_NFSD
-#define NFSSERVCTL sys_nfsserctl
+#define NFSSERVCTL sys_nfsservctl
 #else
 #define NFSSERVCTL sys_ni_syscall
 #endif

End of Patch.

#1 lore raw
Quoted 3 lines · [email protected] said:

There's a typo in the user-mode-linux syscall table that causes a compilation failure with the NFS server enabled. The attached patch applies to BK-current and fixes the problem.

Thanks, I already had this fix in my pool.

Jeff