summaryrefslogtreecommitdiff
path: root/net/sctp/sm_statetable.c
diff options
context:
space:
mode:
authorChenXiaoSong <chenxiaosong2@huawei.com>2022-05-18 17:56:49 +0300
committerSteve French <stfrench@microsoft.com>2022-05-22 08:01:06 +0300
commit2b058acecf56f6b8fac781911a683219b9ca3b7b (patch)
tree61efe3717fc4c24d15c0e86440bc65a5a442db2c /net/sctp/sm_statetable.c
parentfb253d5ba3fcbd3b4216bcc37d019926f5e32ebb (diff)
downloadlinux-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