summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorVladimir Davydov <vdavydov@parallels.com>2015-02-13 01:59:44 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2015-02-13 05:54:10 +0300
commitce3712d74d8ed531a9fd0fbb711ff8fefbacdd9f (patch)
treeea28f9bef6a3eccd26a696a6c1254c358a01b2a9 /sound
parent832f37f5d5f5c7281880c21eb09508750b67f540 (diff)
downloadlinux-ce3712d74d8ed531a9fd0fbb711ff8fefbacdd9f.tar.xz
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 <vdavydov@parallels.com> Acked-by: Christoph Lameter <cl@linux.com> Cc: Pekka Enberg <penberg@kernel.org> Cc: David Rientjes <rientjes@google.com> Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions