Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

-1
-1
fs/nfsd/nfscache.c
··· 207 207 return 0; 208 208 out_nomem: 209 209 printk(KERN_ERR "nfsd: failed to allocate reply cache\n"); 210 - nfsd_reply_cache_shutdown(); 211 210 return -ENOMEM; 212 211 } 213 212