nfsd: fix kernel test robot warning in SSC code
authorDai Ngo <dai.ngo@oracle.com>
Fri, 4 Jun 2021 00:02:26 +0000 (20:02 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 7 Jul 2021 00:14:41 +0000 (20:14 -0400)
commitf47dc2d3013c65631bf8903becc7d88dc9d9966e
tree4d0ae6d31dc297ad4531070190d919539ed45a92
parent3518c8666f15cdd5d38878005dab1d589add1c19
nfsd: fix kernel test robot warning in SSC code

Fix by initializing pointer nfsd4_ssc_umount_item with NULL instead of 0.
Replace return value of nfsd4_ssc_setup_dul with __be32 instead of int.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Dai Ngo <dai.ngo@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4proc.c
fs/nfsd/nfs4state.c