diff options
author | Nitin Gupta <ngupta@vflare.org> | 2011-02-05 20:34:20 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-09 11:39:51 -0800 |
commit | 5414e557fca545614ceedc3d3496f747457e2e3b (patch) | |
tree | 2b9ce2de75be0328792043f65e7e25aace24417b /drivers/ata/pata_efar.c | |
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>
Diffstat (limited to 'drivers/ata/pata_efar.c')
0 files changed, 0 insertions, 0 deletions