diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2006-08-27 04:23:33 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-08-27 14:01:29 -0400 |
commit | 7fd5aecc5d32882f8e29b14370e9ce2520e7e56f (patch) | |
tree | 99fb19859089dae6b5c139df1b563220ec80ffee /kernel/kexec.c | |
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>
Diffstat (limited to 'kernel/kexec.c')
0 files changed, 0 insertions, 0 deletions