git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0742cec
)
staging: zram: fix data corruption issue
author
Nitin Gupta
<ngupta@vflare.org>
Sun, 6 Feb 2011 01:34:20 +0000
(20:34 -0500)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 9 Feb 2011 19:39:51 +0000
(11:39 -0800)
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>
No differences found