commit | 65c484609a3b25c35e4edcd5f2c38f98f5226093 | [log] [tgz] |
---|---|---|
author | Jiang Liu <liuj97@gmail.com> | Fri Jun 07 00:07:25 2013 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Jun 06 12:12:20 2013 -0700 |
tree | e9664426eb8d9f17c01f8b79c26a2c655acd85a1 | |
parent | 39a9b8ac9333e4268ecff7da6c9d1ab3823ff243 [diff] |
zram: avoid double free in function zram_bvec_write() When doing a patial write and the whole page is filled with zero, zram_bvec_write() will free uncmem twice. Signed-off-by: Jiang Liu <jiang.liu@huawei.com> Acked-by: Minchan Kim <minchan@kernel.org> Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>