From: Vladimir Davydov Date: Thu, 12 Feb 2015 22:59:44 +0000 (-0800) Subject: slub: fix kmem_cache_shrink return value X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~99^2~75 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce3712d74d8ed531a9fd0fbb711ff8fefbacdd9f;p=pandora-kernel.git slub: fix kmem_cache_shrink return value It is supposed to return 0 if the cache has no remaining objects and 1 otherwise, while currently it always returns 0. Fix it. Signed-off-by: Vladimir Davydov Acked-by: Christoph Lameter Cc: Pekka Enberg Cc: David Rientjes Cc: Joonsoo Kim Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed