summaryrefslogtreecommitdiffstats
path: root/fs/udf
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2011-12-22 16:49:05 +0100
committerJan Kara <jack@suse.cz>2012-01-09 13:52:09 +0100
commit33c104d415e92a51aaf638dc3d93920cfa601e5c (patch)
treed94d7312b242ee85318188b3bc8fd23481c2f529 /fs/udf
parent0048278552e9752fd578c3d8deee756987c10873 (diff)
downloadop-kernel-dev-33c104d415e92a51aaf638dc3d93920cfa601e5c.zip
op-kernel-dev-33c104d415e92a51aaf638dc3d93920cfa601e5c.tar.gz
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>
Diffstat (limited to 'fs/udf')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud