diff options
author | Dai Ngo <dai.ngo@oracle.com> | 2021-01-28 07:42:26 +0100 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2021-01-28 16:55:37 +0100 |
commit | 02591f9febd5f69bb4c266a4abf899c4cf21964f (patch) | |
tree | 3a0ddef702210e14b8bd4a8abf3ef4acfcf19037 /fs/nfs_common | |
parent | nfsd: cstate->session->se_client -> cstate->clp (diff) | |
download | linux-02591f9febd5f69bb4c266a4abf899c4cf21964f.tar.xz linux-02591f9febd5f69bb4c266a4abf899c4cf21964f.zip |
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/nfs_common')
-rw-r--r-- | fs/nfs_common/Makefile | 2 | ||||
-rw-r--r-- | fs/nfs_common/nfs_ssc.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/fs/nfs_common/Makefile b/fs/nfs_common/Makefile index fa82f5aaa6d9..119c75ab9fd0 100644 --- a/fs/nfs_common/Makefile +++ b/fs/nfs_common/Makefile @@ -7,4 +7,4 @@ obj-$(CONFIG_NFS_ACL_SUPPORT) += nfs_acl.o nfs_acl-objs := nfsacl.o obj-$(CONFIG_GRACE_PERIOD) += grace.o -obj-$(CONFIG_GRACE_PERIOD) += nfs_ssc.o +obj-$(CONFIG_NFS_V4_2_SSC_HELPER) += nfs_ssc.o diff --git a/fs/nfs_common/nfs_ssc.c b/fs/nfs_common/nfs_ssc.c index f43bbb373913..7c1509e968c8 100644 --- a/fs/nfs_common/nfs_ssc.c +++ b/fs/nfs_common/nfs_ssc.c @@ -1,7 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-only /* - * fs/nfs_common/nfs_ssc_comm.c - * * Helper for knfsd's SSC to access ops in NFS client modules * * Author: Dai Ngo <dai.ngo@oracle.com> |