Skip to content

Commit

Permalink
NFS: Simplify NFSv4.1 Kconfig
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Trond Myklebust authored and Trond Myklebust committed Jun 28, 2012
1 parent 05bf14a commit e307450
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions fs/nfs/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down

0 comments on commit e307450

Please sign in to comment.