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.38-rc5~49^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5414e557fca545614ceedc3d3496f747457e2e3b;p=pandora-kernel.git staging: zram: fix data corruption issue 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 Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed