Skip to contentSkip to conversation

nfs: procfs fix

PATCH New Dominik Hackl 1 participant 1 message Jul 2, 2006 NFS client

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nfs: procfs fix

This patch fixes a bug in fs/nfs which makes it impossible to build nfs without having procfs enabled.

fs/nfs/internal.h +2 -2
diff -pruN linux-2.6.17-git20.orig/fs/nfs/internal.h linux-2.6.17-git20/fs/nfs/internal.h
@@ -81,9 +81,9 @@ extern struct file_system_type clone_nfs
 #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);