diff options
author | ChenXiaoSong <chenxiaosong2@huawei.com> | 2022-05-18 17:56:49 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2022-05-22 08:01:06 +0300 |
commit | 2b058acecf56f6b8fac781911a683219b9ca3b7b (patch) | |
tree | 61efe3717fc4c24d15c0e86440bc65a5a442db2c /net/sctp/sm_statetable.c | |
parent | fb253d5ba3fcbd3b4216bcc37d019926f5e32ebb (diff) | |
download | linux-2b058acecf56f6b8fac781911a683219b9ca3b7b.tar.xz |
cifs: return the more nuanced writeback error on close()
As filemap_check_errors() only report -EIO or -ENOSPC, we return more nuanced
writeback error -(file->f_mapping->wb_err & MAX_ERRNO).
filemap_write_and_wait
filemap_write_and_wait_range
filemap_check_errors
-ENOSPC or -EIO
filemap_check_wb_err
errseq_check
return -(file->f_mapping->wb_err & MAX_ERRNO)
Signed-off-by: ChenXiaoSong <chenxiaosong2@huawei.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'net/sctp/sm_statetable.c')
0 files changed, 0 insertions, 0 deletions