summaryrefslogtreecommitdiff
path: root/fs/Kconfig
diff options
context:
space:
mode:
authorDai Ngo <dai.ngo@oracle.com>2021-01-28 09:42:26 +0300
committerChuck Lever <chuck.lever@oracle.com>2021-01-28 18:55:37 +0300
commit02591f9febd5f69bb4c266a4abf899c4cf21964f (patch)
tree3a0ddef702210e14b8bd4a8abf3ef4acfcf19037 /fs/Kconfig
parentec59659b4972ec25851aa03b4b5baba6764a62e4 (diff)
downloadlinux-02591f9febd5f69bb4c266a4abf899c4cf21964f.tar.xz
NFSv4_2: SSC helper should use its own config.
Currently NFSv4_2 SSC helper, nfs_ssc, incorrectly uses GRACE_PERIOD as its config. Fix by adding new config NFS_V4_2_SSC_HELPER which depends on NFS_V4_2 and is automatically selected when NFSD_V4 is enabled. Also removed the file name from a comment in nfs_ssc.c. Signed-off-by: Dai Ngo <dai.ngo@oracle.com> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/Kconfig')
-rw-r--r--fs/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/Kconfig b/fs/Kconfig
index aa4c12282301..a55bda4233bb 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -333,6 +333,10 @@ config NFS_COMMON
depends on NFSD || NFS_FS || LOCKD
default y
+config NFS_V4_2_SSC_HELPER
+ tristate
+ default y if NFS_V4=y || NFS_FS=y
+
source "net/sunrpc/Kconfig"
source "fs/ceph/Kconfig"
source "fs/cifs/Kconfig"