Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;
}