diff options
author | ChenXiaoSong <chenxiaosong2@huawei.com> | 2022-05-18 22:56:49 +0800 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2022-05-22 00:01:06 -0500 |
commit | 2b058acecf56f6b8fac781911a683219b9ca3b7b (patch) | |
tree | 61efe3717fc4c24d15c0e86440bc65a5a442db2c /tools/perf/scripts/python/syscall-counts.py | |
parent | fb253d5ba3fcbd3b4216bcc37d019926f5e32ebb (diff) |
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 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions