]> err.no Git - linux-2.6/blobdiff - fs/hfsplus/super.c
[PATCH] bug: nfsd/nfs4xdr.c misuse of ERR_PTR()
[linux-2.6] / fs / hfsplus / super.c
index d279d5924f2857338815f9637567bad248f5a45e..194eede52fa46005949042c37d8e57e3ef8fe7db 100644 (file)
@@ -493,8 +493,7 @@ static int __init init_hfsplus_fs(void)
 static void __exit exit_hfsplus_fs(void)
 {
        unregister_filesystem(&hfsplus_fs_type);
-       if (kmem_cache_destroy(hfsplus_inode_cachep))
-               printk(KERN_ERR "hfsplus_inode_cache: not all structures were freed\n");
+       kmem_cache_destroy(hfsplus_inode_cachep);
 }
 
 module_init(init_hfsplus_fs)