diff options
author | Seth Jennings <sjenning@linux.vnet.ibm.com> | 2012-07-30 19:47:44 (GMT) |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-08-13 19:41:30 (GMT) |
commit | 6b982fcf0260b8371604fcf6a12c6beecb731c57 (patch) | |
tree | cbc82bafc1c751a17c147cb327c6a9294e40fc43 /mm/memcontrol.c | |
parent | 1d00015e268f9142de0b504b3e4a4905155276f2 (diff) | |
download | linux-6b982fcf0260b8371604fcf6a12c6beecb731c57.tar.xz |
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>
Diffstat (limited to 'mm/memcontrol.c')
0 files changed, 0 insertions, 0 deletions