commit | 29ab23cc5d351658d01a4327d55e9106a73fd04f | [log] [tgz] |
---|---|---|
author | J. Bruce Fields <bfields@citi.umich.edu> | Tue Sep 15 15:56:50 2009 -0400 |
committer | J. Bruce Fields <bfields@citi.umich.edu> | Tue Sep 15 20:49:33 2009 -0400 |
tree | 8df00000a93e783f4bc152c20a437338a4f57fde | |
parent | 5d351754fcf58d1a604aa7cf95c2805e8a098ad9 [diff] [blame] |
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>
diff --git a/fs/nfsd/nfssvc.c b/fs/nfsd/nfssvc.c index 4472449..fcc0010 100644 --- a/fs/nfsd/nfssvc.c +++ b/fs/nfsd/nfssvc.c
@@ -411,7 +411,9 @@ 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();