[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>
This commit is contained in:
Dominik Hackl 2006-07-02 17:29:26 +02:00 committed by Linus Torvalds
parent b4b9034132
commit 4ebd9ab387

View file

@ -81,9 +81,9 @@ extern struct file_system_type clone_nfs_fs_type;
#ifdef CONFIG_NFS_V4 #ifdef CONFIG_NFS_V4
extern struct file_system_type clone_nfs4_fs_type; extern struct file_system_type clone_nfs4_fs_type;
#endif #endif
#ifdef CONFIG_PROC_FS
extern struct rpc_stat nfs_rpcstat; extern struct rpc_stat nfs_rpcstat;
#endif
extern int __init register_nfs_fs(void); extern int __init register_nfs_fs(void);
extern void __exit unregister_nfs_fs(void); extern void __exit unregister_nfs_fs(void);