projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b2d4dc
)
nfsd: don't call nfsd_reply_cache_shutdown twice
author
J. Bruce Fields
<bfields@redhat.com>
Thu, 16 May 2019 18:24:40 +0000
(14:24 -0400)
committer
J. Bruce Fields
<bfields@redhat.com>
Wed, 3 Jul 2019 21:52:08 +0000
(17:52 -0400)
The caller is cleaning up on ENOMEM, don't try to do it here too.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfscache.c
patch
|
blob
|
history
diff --git
a/fs/nfsd/nfscache.c
b/fs/nfsd/nfscache.c
index da52b594362a4d58299f8dbba503bde35e75fe20..a08f792b81ddb27788fbb2c244d9535730c0f8e6 100644
(file)
--- 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;
}