From: Richard Purdie Date: Sun, 27 Aug 2006 08:23:33 +0000 (-0700) Subject: [PATCH] mtd corruption fix X-Git-Tag: v2.6.18-rc5~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fd5aecc5d32882f8e29b14370e9ce2520e7e56f;p=pandora-kernel.git [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 Cc: David Woodhouse Acked-by: Josh Boyer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed