diff --git a/fs/nfs/Kconfig b/fs/nfs/Kconfig index 5f93cfacb3d14b9befc6ba33a91d79ccde044d89..ac3e06367cb689bc8c522fcab67bbf5c423b3f31 100644 --- a/fs/nfs/Kconfig +++ b/fs/nfs/Kconfig @@ -89,7 +89,7 @@ config NFS_V4 config NFS_SWAP bool "Provide swap over NFS support" default n - depends on NFS_FS + depends on NFS_FS && SWAP select SUNRPC_SWAP help This option enables swapon to work on files located on NFS mounts.