Subject : 2.6.24-rc1 eat my photo SD card :-( Submitter : Romano Giannetti <romanol@upcomillas.es> References : http://lkml.org/lkml/2007/11/1/99 Handled-By : Nick Piggin <nickpiggin@yahoo.com.au>
Handled-By : Pierre Ossman <drzeus-mmc@drzeus.cx> : Willy Tarreau <w@1wt.eu>
Created attachment 13450 [details] Proposed patch to fix sg helper mistake Please try the attached patch, which fixes a mistake in the sg helper conversion of drivers/mmc/card/queue.c. I will test when I have an SD card handy...
Good work Roland, that would definitely explain data corruption. The patch is queued up here, going upstream later today.
Tested. It works for me. (I am the original reporter).
Patch applied upstream by Jens, so closing bug.
Fixed by: commit 8578007065bd27ec077a74b5814f0fe4df040180 Author: Roland Dreier <roland@digitalvampire.org> Date: Thu Nov 8 13:50:58 2007 +0100 mmc: Fix sg helper copy-and-paste error http://git.kernel.org/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=8578007065bd27ec077a74b5814f0fe4df040180