summaryrefslogtreecommitdiffstats
path: root/fs/nfs/internal.h
diff options
context:
space:
mode:
authorDominik Hackl2006-07-02 17:29:26 +0200
committerLinus Torvalds2006-07-03 00:10:20 +0200
commit4ebd9ab387b39c44165cd296a6637082a4f0f66a (patch)
treeb6a6d5402a8108c4035a824f5ed428ef24330fb3 /fs/nfs/internal.h
parentMerge branch 'genirq' of master.kernel.org:/home/rmk/linux-2.6-arm (diff)
downloadkernel-qcow2-linux-4ebd9ab387b39c44165cd296a6637082a4f0f66a.tar.gz
kernel-qcow2-linux-4ebd9ab387b39c44165cd296a6637082a4f0f66a.tar.xz
kernel-qcow2-linux-4ebd9ab387b39c44165cd296a6637082a4f0f66a.zip
[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 <dominik@hackl.dhs.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r--fs/nfs/internal.h4
1 files changed, 2 insertions, 2 deletions
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);