[PATCH] Fix Intel/Sharp command set erase suspend bug
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>
Tue, 28 Nov 2006 23:11:52 +0000 (23:11 +0000)
committerLinus Torvalds <torvalds@woody.osdl.org>
Wed, 29 Nov 2006 01:26:50 +0000 (17:26 -0800)
commit967bf623e9f5eecfb056b1ba7e0efd74a21c9c3a
tree256413b403e8aa720050e5da858c5d13a7c45869
parentba8379b220509e9448c00a77cf6c15ac2a559cc7
[PATCH] Fix Intel/Sharp command set erase suspend bug

When we sleep and wait for a suspended operation to be resumed, go
back and check until it's ready -- don't just continue after the first
time we're woken. This can cause file system corruption.

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/mtd/chips/cfi_cmdset_0001.c