mm: frontswap: make all branches of if statement in put page consistent
authorSasha Levin <levinsasha928@gmail.com>
Sun, 10 Jun 2012 10:51:04 +0000 (12:51 +0200)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 11 Jun 2012 19:31:55 +0000 (15:31 -0400)
commitd9674dda1c7ed49d503d3d7308c90a9f965f0783
treea3ee1d15aa1846668baf3bfbba87a25695ce0ca8
parent69217b4cd044671b6dddcd9d33c8e4fdfd295ae3
mm: frontswap: make all branches of if statement in put page consistent

Currently it has a complex structure where different things are compared
at each branch. Simplify that and make both branches look similar.

Reviewed-by: Minchan Kim <minchan@kernel.org>
Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
mm/frontswap.c