]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit79924e8bb8892d046173d134013b45a1a8e5b0a4
tree256413b403e8aa720050e5da858c5d13a7c45869
parent7c766ecfd7e72fd22f616b2408c7d25962bd20dc
[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