VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Alexey Dobriyan <adobriyan@gmail.com> 2006-09-27 01:49:40 -0700 committer: Linus Torvalds <torvalds@g5.osdl.org> 2006-09-27 08:26:10 -0700 commit: 1a1d92c10dd24bbdc28b3d6e2d03ec199dd3a65b parent: f52720ca5f48574e347dff35ffe6b389ace61537
Commit Summary:
[PATCH] Really ignore kmem_cache_destroy return value
Diffstat:
1 file changed, 1 insertion, 2 deletions
diff --git a/fs/hfs/super.c b/fs/hfs/super.c
index 05dffff1a372..d43b4fcc8ad3 100644
--- a/fs/hfs/super.c
+++ b/fs/hfs/super.c
@@ -454,8 +454,7 @@ static int __init init_hfs_fs(void)
 static void __exit exit_hfs_fs(void)
 {
 	unregister_filesystem(&hfs_fs_type);
-	if (kmem_cache_destroy(hfs_inode_cachep))
-		printk(KERN_ERR "hfs_inode_cache: not all structures were freed\n");
+	kmem_cache_destroy(hfs_inode_cachep);
 }
 
 module_init(init_hfs_fs)