From: Nitin Gupta Date: Sun, 6 Feb 2011 01:34:20 +0000 (-0500) Subject: staging: zram: fix data corruption issue X-Git-Tag: v2.6.37.1~236 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea82c93f00ea1baf871a85c81971ac59f0b56b03;p=pandora-kernel.git staging: zram: fix data corruption issue commit 5414e557fca545614ceedc3d3496f747457e2e3b upstream. In zram_read() and zram_write() we were not incrementing the index number and thus were reading/writing values from/to incorrect sectors on zram disk, resulting in data corruption. Signed-off-by: Nitin Gupta Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed