Jan Kara 33c104d415 ext3: Don't warn from writepage when readonly inode is spotted after error
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.

CC: stable@kernel.org
Signed-off-by: Jan Kara <jack@suse.cz>
2012-01-09 13:52:09 +01:00
..
2011-07-25 14:30:23 -04:00
2007-10-17 08:42:47 -07:00
2010-07-23 12:50:55 +02:00
2005-10-30 17:37:25 -08:00
2011-03-31 11:26:23 -03:00
2010-05-21 18:31:19 -04:00
2010-05-21 18:31:19 -04:00