commit | 5414e557fca545614ceedc3d3496f747457e2e3b | [log] [tgz] |
---|---|---|
author | Nitin Gupta <ngupta@vflare.org> | Sat Feb 05 20:34:20 2011 -0500 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Wed Feb 09 11:39:51 2011 -0800 |
tree | 2b9ce2de75be0328792043f65e7e25aace24417b | |
parent | 0742cecbd431fd057b45fd8c0d60f0907e00e17f [diff] |
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 <ngupta@vflare.org> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>