From: Stephen Hemminger Date: Tue, 17 Nov 2009 00:04:49 +0000 (-0800) Subject: ext2: clear uptodate flag on super block I/O error X-Git-Tag: v2.6.33-rc1~311^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2074abfeb8ea2904aeeaecc45e0dfea3f83a22b2;p=pandora-kernel.git ext2: clear uptodate flag on super block I/O error This fixes a WARN backtrace in mark_buffer_dirty() that occurs during unmount when a USB or floppy device is removed. I reported this a kernel regression, but looks like it might have been there for longer than that. The super block update from a previous operation has marked the buffer as in error, and the flag has to be cleared before doing the update. (Similar code already exists in ext4). Signed-off-by: Stephen Hemminger Signed-off-by: Jan Kara --- Reading git-diff-tree failed