Browse Source

NFS: Simplify NFSv4.1 Kconfig

Convert the pNFS file layout to use the same system as the
object and block layout.
Remove unnecessary dependencies on NFS_FS

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Trond Myklebust 13 years ago
parent
commit
e3074507d9
1 changed files with 5 additions and 4 deletions
  1. 5 4
      fs/nfs/Kconfig

+ 5 - 4
fs/nfs/Kconfig

@@ -88,9 +88,8 @@ config NFS_V4
 
 
 config NFS_V4_1
 config NFS_V4_1
 	bool "NFS client support for NFSv4.1 (EXPERIMENTAL)"
 	bool "NFS client support for NFSv4.1 (EXPERIMENTAL)"
-	depends on NFS_FS && NFS_V4 && EXPERIMENTAL
+	depends on NFS_V4 && EXPERIMENTAL
 	select SUNRPC_BACKCHANNEL
 	select SUNRPC_BACKCHANNEL
-	select PNFS_FILE_LAYOUT
 	help
 	help
 	  This option enables support for minor version 1 of the NFSv4 protocol
 	  This option enables support for minor version 1 of the NFSv4 protocol
 	  (RFC 5661) in the kernel's NFS client.
 	  (RFC 5661) in the kernel's NFS client.
@@ -99,15 +98,17 @@ config NFS_V4_1
 
 
 config PNFS_FILE_LAYOUT
 config PNFS_FILE_LAYOUT
 	tristate
 	tristate
+	depends on NFS_V4_1
+	default m
 
 
 config PNFS_BLOCK
 config PNFS_BLOCK
 	tristate
 	tristate
-	depends on NFS_FS && NFS_V4_1 && BLK_DEV_DM
+	depends on NFS_V4_1 && BLK_DEV_DM
 	default m
 	default m
 
 
 config PNFS_OBJLAYOUT
 config PNFS_OBJLAYOUT
 	tristate
 	tristate
-	depends on NFS_FS && NFS_V4_1 && SCSI_OSD_ULD
+	depends on NFS_V4_1 && SCSI_OSD_ULD
 	default m
 	default m
 
 
 config NFS_V4_1_IMPLEMENTATION_ID_DOMAIN
 config NFS_V4_1_IMPLEMENTATION_ID_DOMAIN