diff options
| author | Yue Hu <huyue2@yulong.com> | 2019-06-27 12:46:15 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-07-01 09:45:00 +0300 |
| commit | 5545745930ea42a04edff1d260d8084a26feae34 (patch) | |
| tree | 55103e7bc679d795a72a48800ca0b203e5ca0329 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | fbd6b25009ac76b2034168cd21d5e01f8c2d83d1 (diff) | |
| download | linux-5545745930ea42a04edff1d260d8084a26feae34.tar.xz | |
staging: erofs: return the error value if fill_inline_data() fails
We should consider the error returned by fill_inline_data() when filling
last page in fill_inode(). If not getting inode will be successful even
though last page is bad. That is illogical. Also change -EAGAIN to 0 in
fill_inline_data() to stand for successful filling.
Signed-off-by: Yue Hu <huyue2@yulong.com>
Reviewed-by: Gao Xiang <gaoxiang25@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
