diff options
| author | Jiang Liu <liuj97@gmail.com> | 2013-06-07 00:07:25 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-11 18:35:23 -0700 |
| commit | f7b071d02492426c5b5c1086fe082ba7a0de6de8 (patch) | |
| tree | 791e197cc66b9de0e826e798f2a5e854940a7efc /include/linux | |
| parent | 916c68df544806585f63cc157149b9d9559ad500 (diff) | |
zram: avoid double free in function zram_bvec_write()
commit 65c484609a3b25c35e4edcd5f2c38f98f5226093 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
