commit | 7fd5aecc5d32882f8e29b14370e9ce2520e7e56f | [log] [tgz] |
---|---|---|
author | Richard Purdie <rpurdie@rpsys.net> | Sun Aug 27 01:23:33 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Sun Aug 27 11:01:29 2006 -0700 |
tree | 99fb19859089dae6b5c139df1b563220ec80ffee | |
parent | 6946bd636364effce06ea46fe8f8cd6e2edb004e [diff] |
[PATCH] mtd corruption fix Read the return value before we release the nand device otherwise the value can become corrupted by another user of chip->ops, ultimately resulting in filesystem corruption. Signed-off-by: Richard Purdie <rpurdie@rpsys.net> Cc: David Woodhouse <dwmw2@infradead.org> Acked-by: Josh Boyer <jwboyer@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>