• Theodore Ts'o's avatar
    ext4: tone down ext4_da_writepages warnings · 2a21e37e
    Theodore Ts'o authored
    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: default avatar"Theodore Ts'o" <tytso@mit.edu>
    2a21e37e
inode.c 144 KB