summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorDominik Hackl <dominik@hackl.dhs.org>2006-07-02 17:29:26 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-07-02 15:10:20 -0700
commit4ebd9ab387b39c44165cd296a6637082a4f0f66a (patch)
treeb6a6d5402a8108c4035a824f5ed428ef24330fb3 /fs
parentb4b9034132c7e1e4474999e688dd7d03b7d97a99 (diff)
downloadlinux-3.10-4ebd9ab387b39c44165cd296a6637082a4f0f66a.tar.gz
linux-3.10-4ebd9ab387b39c44165cd296a6637082a4f0f66a.tar.bz2
linux-3.10-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')
-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 4fe51c1292b..e4f4e5def0f 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);