From: Dominik Hackl Date: Sun, 2 Jul 2006 15:29:26 +0000 (+0200) Subject: [PATCH] nfs: non-procfs build fix X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4ebd9ab387b39c44165cd296a6637082a4f0f66a;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git [PATCH] nfs: non-procfs build fix This fixes a bug in fs/nfs which makes it impossible to build nfs without having procfs enabled. Signed-off-by: Dominik Hackl Signed-off-by: Linus Torvalds --- diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h index 4fe51c1292bb..e4f4e5def0fc 100644 --- a/fs/nfs/internal.h +++ b/fs/nfs/internal.h @@ -81,9 +81,9 @@ extern struct file_system_type clone_nfs_fs_type; #ifdef CONFIG_NFS_V4 extern struct file_system_type clone_nfs4_fs_type; #endif -#ifdef CONFIG_PROC_FS + extern struct rpc_stat nfs_rpcstat; -#endif + extern int __init register_nfs_fs(void); extern void __exit unregister_nfs_fs(void);