]> Pileus Git - ~andy/linux/commit
zram: fix zram_bvec_read duplicate dump failure message and stat accumulation
authorWanpeng Li <liwanp@linux.vnet.ibm.com>
Wed, 13 Mar 2013 07:06:16 +0000 (15:06 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Mar 2013 00:42:34 +0000 (17:42 -0700)
commit25eeb667599b192ea850a062d69383ee864c06ab
treef2b1f8b4a46ec9d741bbc7bb591ab7807279c83b
parentdcb4e2d9bb4e3b6ad05bc513a237a87e46952341
zram: fix zram_bvec_read duplicate dump failure message and stat accumulation

When zram decompress fails, the code unnecessarily dumps failure messages and
does stat accumulation in function zram_decompress_page(), this work is already
done in function zram_decompress_page, the patch skips the redundant work.

Signed-off-by: Wanpeng Li <liwanp@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/zram/zram_drv.c