nfsd4: allow nfs4 state startup to fail
The failure here is pretty unlikely, but we should handle it anyway. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
This commit is contained in:
parent
5d351754fc
commit
29ab23cc5d
3 changed files with 17 additions and 8 deletions
|
@ -411,7 +411,9 @@ nfsd_svc(unsigned short port, int nrservs)
|
|||
error = nfsd_racache_init(2*nrservs);
|
||||
if (error<0)
|
||||
goto out;
|
||||
nfs4_state_start();
|
||||
error = nfs4_state_start();
|
||||
if (error)
|
||||
goto out;
|
||||
|
||||
nfsd_reset_versions();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue