aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4idmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfsd/nfs4idmap.c')
-rw-r--r--fs/nfsd/nfs4idmap.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/nfsd/nfs4idmap.c b/fs/nfsd/nfs4idmap.c
index 5b56c77c15c5..ef22179c49ad 100644
--- a/fs/nfsd/nfs4idmap.c
+++ b/fs/nfsd/nfs4idmap.c
@@ -474,10 +474,8 @@ nfsd_idmap_init(void)
474void 474void
475nfsd_idmap_shutdown(void) 475nfsd_idmap_shutdown(void)
476{ 476{
477 if (cache_unregister(&idtoname_cache)) 477 cache_unregister(&idtoname_cache);
478 printk(KERN_ERR "nfsd: failed to unregister idtoname cache\n"); 478 cache_unregister(&nametoid_cache);
479 if (cache_unregister(&nametoid_cache))
480 printk(KERN_ERR "nfsd: failed to unregister nametoid cache\n");
481} 479}
482 480
483/* 481/*