NFSv4.2: Fix NFS4ERR_STALE error when doing inter server copy
authorDai Ngo <dai.ngo@oracle.com>
Mon, 19 Oct 2020 03:42:49 +0000 (23:42 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 21 Oct 2020 14:31:20 +0000 (10:31 -0400)
commit0cfcd405e758ba1d277e58436fb32f06888c3e41
tree1864fcd7309f73031e27b363110c584fd4b37eb8
parentd48c8124749c9a5081fe68680f83605e272c984b
NFSv4.2: Fix NFS4ERR_STALE error when doing inter server copy

NFS_FS=y as dependency of CONFIG_NFSD_V4_2_INTER_SSC still have
build errors and some configs with NFSD=m to get NFS4ERR_STALE
error when doing inter server copy.

Added ops table in nfs_common for knfsd to access NFS client modules.

Fixes: 3ac3711adb88 ("NFSD: Fix NFS server build errors")
Signed-off-by: Dai Ngo <dai.ngo@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfs/nfs4file.c
fs/nfs/nfs4super.c
fs/nfs/super.c
fs/nfs_common/Makefile
fs/nfs_common/nfs_ssc.c [new file with mode: 0644]
fs/nfsd/Kconfig
fs/nfsd/nfs4proc.c
include/linux/nfs_ssc.h [new file with mode: 0644]