summaryrefslogtreecommitdiffstats
path: root/fs/nfsd
diff options
context:
space:
mode:
authorJ. Bruce Fields2019-05-16 20:24:40 +0200
committerJ. Bruce Fields2019-07-03 23:52:08 +0200
commitb401170f6d9cd4270e0159d9b016f4ccb06caa85 (patch)
tree1a4d74acd8a9d8841fb5f949341ea3c932d12734 /fs/nfsd
parentnfsd: Fix overflow causing non-working mounts on 1 TB machines (diff)
downloadkernel-qcow2-linux-b401170f6d9cd4270e0159d9b016f4ccb06caa85.tar.gz
kernel-qcow2-linux-b401170f6d9cd4270e0159d9b016f4ccb06caa85.tar.xz
kernel-qcow2-linux-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 'fs/nfsd')
-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;
}