]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit60242b1ccb231b7079b605a02c3422cb71b30aa4
treea3ee1d15aa1846668baf3bfbba87a25695ce0ca8
parent791469089d2935a1082d995513b6acaef8ad4971
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