Files
kernel-tenderloin-3.0/fs/ext3
Jan Kara 42e857c955 ext3: Don't warn from writepage when readonly inode is spotted after error
commit 33c104d415e92a51aaf638dc3d93920cfa601e5c upstream.

WARN_ON_ONCE(IS_RDONLY(inode)) tends to trip when filesystem hits error and is
remounted read-only. This unnecessarily scares users (well, they should be
scared because of filesystem error, but the stack trace distracts them from the
right source of their fear ;-). We could as well just remove the WARN_ON but
it's not hard to fix it to not trip on filesystem with errors and not use more
cycles in the common case so that's what we do.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2012-01-12 11:35:06 -08:00
..
2011-03-31 11:26:23 -03:00
2010-03-05 00:20:30 +01:00
2010-09-16 20:52:58 +02:00
2010-07-23 12:50:55 +02:00
2011-03-31 11:26:23 -03:00
2011-05-26 10:01:49 -06:00
2010-05-21 18:31:19 -04:00
2010-05-21 18:31:19 -04:00