From: Alexey Dobriyan Date: Wed, 27 Sep 2006 08:49:40 +0000 (-0700) Subject: [PATCH] Really ignore kmem_cache_destroy return value X-Git-Tag: v2.6.19-rc1~986 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a1d92c10dd24bbdc28b3d6e2d03ec199dd3a65b;p=pandora-kernel.git [PATCH] Really ignore kmem_cache_destroy return value * Rougly half of callers already do it by not checking return value * Code in drivers/acpi/osl.c does the following to be sure: (void)kmem_cache_destroy(cache); * Those who check it printk something, however, slab_error already printed the name of failed cache. * XFS BUGs on failed kmem_cache_destroy which is not the decision low-level filesystem driver should make. Converted to ignore. Signed-off-by: Alexey Dobriyan Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed