[PATCH 1/3] CONFIG_PNFS cleanup: make CONFIG_PNFS depend on CONFIG_NFS*_V4_1

Benny Halevy bhalevy at ns1.bhalevy.com
Wed May 23 14:19:25 EDT 2007


todo: eventually we may want to separate the pnfs config options
for the client and server.

Signed-off-by: Benny Halevy <bhalevy at panasas.com>
---
 include/linux/nfs4.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/linux/nfs4.h b/include/linux/nfs4.h
index c94875d..bbdcb47 100644
--- a/include/linux/nfs4.h
+++ b/include/linux/nfs4.h
@@ -13,7 +13,9 @@
 #ifndef _LINUX_NFS4_H
 #define _LINUX_NFS4_H
 
+#if defined(CONFIG_NFS_V4_1) || defined(CONFIG_NFSD_V4_1)
 #define CONFIG_PNFS  1
+#endif
 
 #include <linux/types.h>
 
-- 
1.5.1




More information about the pNFS mailing list