staging: ramster: decrease foregin pers pages when count < 0
authorWanpeng Li <liwanp@linux.vnet.ibm.com>
Fri, 12 Apr 2013 01:31:21 +0000 (09:31 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Apr 2013 22:14:40 +0000 (15:14 -0700)
commitc067ad112427440ee0dc79cfc98435abce3bc178
tree2f4c8b784a81a58bb7951c1bd99358f72668d6b3
parentc400c1e1c42d4acff3e1dc0dade184f01b45e8a2
staging: ramster: decrease foregin pers pages when count < 0

commit 9a5c59687ad ("staging: ramster: Provide accessory functions for
counter decrease") forget decrease foregin pers pages, this patch fix
it.

Acked-by: Dan Magenheimer <dan.magenheimer@oracle.com>
Signed-off-by: Wanpeng Li <liwanp@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/zcache/ramster/ramster.c