Commit b401170f authored by J. Bruce Fields's avatar J. Bruce Fields

nfsd: don't call nfsd_reply_cache_shutdown twice

The caller is cleaning up on ENOMEM, don't try to do it here too.
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 3b2d4dcf
...@@ -207,7 +207,6 @@ int nfsd_reply_cache_init(void) ...@@ -207,7 +207,6 @@ int nfsd_reply_cache_init(void)
return 0; return 0;
out_nomem: out_nomem:
printk(KERN_ERR "nfsd: failed to allocate reply cache\n"); printk(KERN_ERR "nfsd: failed to allocate reply cache\n");
nfsd_reply_cache_shutdown();
return -ENOMEM; return -ENOMEM;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment