summaryrefslogtreecommitdiffstats
path: root/drivers/staging/sb105x/sb_pci_mp.c
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2013-10-21 09:58:07 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-25 06:22:39 +0100
commit5957324045ba2c127c9401fa3ac61ac52e043ca8 (patch)
tree052fc6fd0281f206f37a9215077b34e22acf89ac /drivers/staging/sb105x/sb_pci_mp.c
parent29323b3e6bc65d95e2ef5add5db332fcb41ff2e6 (diff)
downloadlinux-5957324045ba2c127c9401fa3ac61ac52e043ca8.tar.bz2
staging: ashmem: Fix ASHMEM_PURGE_ALL_CACHES return value
Hopefully this isn't too late for 3.12. In commit 7dc19d5aff (convert shrinkers to new count/scan API) the return value to PURGE_ALL_CACHES was dropped, causing -EPERM to always be returned. This patch re-adds the ret assignment, setting it to the the ashmem_shrink_count(), which is the lru_count. (Sorry this was missed in the review!) Fixes: 7dc19d5affd7 ("convert shrinkers to new count/scan API") Cc: Colin Cross <ccross@android.com> Cc: Android Kernel Team <kernel-team@android.com> Cc: Glauber Costa <glommer@openvz.org> Reported-by: YongQin Liu <yongqin.liu@linaro.org> Signed-off-by: John Stultz <john.stultz@linaro.org> Cc: stable <stable@kernel.org> # 3.12 Acked-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/sb105x/sb_pci_mp.c')
0 files changed, 0 insertions, 0 deletions