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> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| xvmalloc_int.h | ||
| xvmalloc.c | ||
| xvmalloc.h | ||
| zram_drv.c | ||
| zram_drv.h | ||
| zram_sysfs.c | ||
| zram.txt | ||