NFS: Simplify NFSv4.1 Kconfig
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 21 May 2012 19:30:41 +0000 (15:30 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 28 Jun 2012 21:20:51 +0000 (17:20 -0400)
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>
fs/nfs/Kconfig

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