Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mm: frontswap: fix a wrong if condition in frontswap_shrink
pages_to_unuse is set to 0 to unuse all frontswap pages But that doesn't happen since a wrong condition in frontswap_shrink cancel it. -v2: Add comment to explain return value of __frontswap_shrink, as suggested by Dan Carpenter, thanks Signed-off-by: Zhenzhong Duan <[email protected]> Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
- Loading branch information