diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2021-06-04 12:12:37 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2021-07-07 02:14:41 +0200 |
commit | 54185267e1fe476875e649bb18e1c4254c123305 (patch) | |
tree | 382fdec7f3c419b7f5eba54d26e0855f7e59c110 /fs/nfs_common | |
parent | nfsd: fix kernel test robot warning in SSC code (diff) | |
download | linux-54185267e1fe476875e649bb18e1c4254c123305.tar.xz linux-54185267e1fe476875e649bb18e1c4254c123305.zip |
NFSD: Fix error return code in nfsd4_interssc_connect()
'status' has been overwritten to 0 after nfsd4_ssc_setup_dul(), this
cause 0 will be return in vfs_kern_mount() error case. Fix to return
nfserr_nodev in this error.
Fixes: f4e44b393389 ("NFSD: delay unmount source's export after inter-server copy completed.")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfs_common')
0 files changed, 0 insertions, 0 deletions