aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfscache.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2019-05-16 14:24:40 -0400
committerJ. Bruce Fields <bfields@redhat.com>2019-07-03 17:52:08 -0400
commitb401170f6d9cd4270e0159d9b016f4ccb06caa85 (patch)
tree1a4d74acd8a9d8841fb5f949341ea3c932d12734 /fs/nfsd/nfscache.c
parentnfsd: Fix overflow causing non-working mounts on 1 TB machines (diff)
downloadlinux-dev-b401170f6d9cd4270e0159d9b016f4ccb06caa85.tar.xz
linux-dev-b401170f6d9cd4270e0159d9b016f4ccb06caa85.zip
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 '')
-rw-r--r--fs/nfsd/nfscache.c1
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;
}