]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ext4: tone down ext4_da_writepages warnings
authorTheodore Ts'o <tytso@mit.edu>
Tue, 17 Feb 2009 15:32:20 +0000 (10:32 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 20 Feb 2009 22:40:23 +0000 (14:40 -0800)
commit1b8f5532833fe81ee9a1717d853bbfc5f0bd64f2
tree41453a1d0eb86d4b189bed577c6c7cf106b85b64
parent69db706481e3d100c6def5bf15b251f2a6ef03ab
ext4: tone down ext4_da_writepages warnings

(cherry picked from commit 2a21e37e48b94388f2cc8c0392f104f5443d4bb8)

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/ext4/inode.c