diff options
author | Eric Sandeen <sandeen@redhat.com> | 2012-11-14 22:22:05 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-21 11:44:59 -0800 |
commit | 97765f30c49d3023a6dafe7c48c7e520fca441f8 (patch) | |
tree | 857afd3c92912cf780860597d87436b38c5902e7 /kernel/bounds.c | |
parent | a6d8f58e7c32624663e6f41ecd2c94c487fffcb0 (diff) | |
download | lwn-97765f30c49d3023a6dafe7c48c7e520fca441f8.tar.gz lwn-97765f30c49d3023a6dafe7c48c7e520fca441f8.zip |
ext4: init pagevec in ext4_da_block_invalidatepages
commit 66bea92c69477a75a5d37b9bfed5773c92a3c4b4 upstream.
ext4_da_block_invalidatepages is missing a pagevec_init(),
which means that pvec->cold contains random garbage.
This affects whether the page goes to the front or
back of the LRU when ->cold makes it to
free_hot_cold_page()
Reviewed-by: Lukas Czerner <lczerner@redhat.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: CAI Qian <caiqian@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/bounds.c')
0 files changed, 0 insertions, 0 deletions