diff options
author | J. Bruce Fields <bfields@redhat.com> | 2019-05-16 14:24:40 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2019-07-03 17:52:08 -0400 |
commit | b401170f6d9cd4270e0159d9b016f4ccb06caa85 (patch) | |
tree | 1a4d74acd8a9d8841fb5f949341ea3c932d12734 /fs/nfsd/nfscache.c | |
parent | 3b2d4dcf71c4a91b420f835e52ddea8192300a3b (diff) |
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: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfscache.c')
-rw-r--r-- | fs/nfsd/nfscache.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfsd/nfscache.c b/fs/nfsd/nfscache.c index da52b594362a..a08f792b81dd 100644 --- a/fs/nfsd/nfscache.c +++ b/fs/nfsd/nfscache.c @@ -207,7 +207,6 @@ int nfsd_reply_cache_init(void) return 0; out_nomem: printk(KERN_ERR "nfsd: failed to allocate reply cache\n"); - nfsd_reply_cache_shutdown(); return -ENOMEM; } |