commit | 6b982fcf0260b8371604fcf6a12c6beecb731c57 | [log] [tgz] |
---|---|---|
author | Seth Jennings <sjenning@linux.vnet.ibm.com> | Mon Jul 30 14:47:44 2012 -0500 |
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | Mon Aug 13 15:41:30 2012 -0400 |
tree | cbc82bafc1c751a17c147cb327c6a9294e40fc43 | |
parent | 1d00015e268f9142de0b504b3e4a4905155276f2 [diff] |
mm/frontswap: fix uninit'ed variable warning Fixes uninitialized variable warning on 'type' in frontswap_shrink(). type is set before use by __frontswap_unuse_pages() called by __frontswap_shrink() called by frontswap_shrink() before use by try_to_unuse(). Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>