]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit57bbb81480b8d9f8808b57796529c2c323e05887
tree4d0ae6d31dc297ad4531070190d919539ed45a92
parenta13d433703fb1100f99f55d7665a5aad315e0d87
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