ext4: tone down ext4_da_writepages warnings
authorTheodore Ts'o <tytso@mit.edu>
Wed, 5 Nov 2008 14:22:24 +0000 (09:22 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 5 Nov 2008 14:22:24 +0000 (09:22 -0500)
commit2a21e37e48b94388f2cc8c0392f104f5443d4bb8
tree271e6b7c181213bc9ffbd7793aef275b924cf63c
parent97df5d155dee478efe33b001f502e9630e1bba92
ext4: tone down ext4_da_writepages warnings

If the filesystem has errors, ext4_da_writepages() will return a *lot*
of errors, including lots and lots of stack dumps.  While it's true
that we are dropping user data on the floor, which is unfortunate, the
stack dumps aren't helpful, and they tend to obscure the true original
root cause of the problem.  So in the case where the filesystem has
aborted, return an EROFS right away.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/inode.c