diff options
author | Jeff Layton <jlayton@redhat.com> | 2017-07-06 07:02:23 -0400 |
---|---|---|
committer | Jeff Layton <jlayton@redhat.com> | 2017-07-06 07:02:23 -0400 |
commit | cbeaf9510a8631e9bb0077a95fd8b0db0b3be200 (patch) | |
tree | 4c69537c66c0057e30d7ef7dd2a46f4bdb2f54db /net | |
parent | 76341cabbdad65c10a4162e9dfa82a6342afc02f (diff) | |
download | op-kernel-dev-cbeaf9510a8631e9bb0077a95fd8b0db0b3be200.zip op-kernel-dev-cbeaf9510a8631e9bb0077a95fd8b0db0b3be200.tar.gz |
mm: clear AS_EIO/AS_ENOSPC when writeback initiation fails
filemap_write_and_wait{_range} will return an error if writeback
initiation fails, but won't clear errors in the address_space. This is
particularly problematic on DAX, as filemap_fdatawrite* is
effectively synchronous there. Ensure that we clear the AS_EIO/AS_ENOSPC
flags when filemap_fdatawrite* returns an error.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions