diff options
author | 2022-08-15 11:48:29 +0800 | |
---|---|---|
committer | 2022-09-05 23:21:15 +0800 | |
commit | 5bd9628b784cc5e38e1c7ebb680bbd6ee741230e (patch) | |
tree | fa9217830706d125eb53d9e1a691e478e2589fe0 /scripts/generate_rust_analyzer.py | |
parent | Linux 6.0-rc1 (diff) | |
download | wireguard-linux-5bd9628b784cc5e38e1c7ebb680bbd6ee741230e.tar.xz wireguard-linux-5bd9628b784cc5e38e1c7ebb680bbd6ee741230e.zip |
erofs: fix error return code in erofs_fscache_{meta_,}read_folio
If erofs_fscache_alloc_request fail and then goto out, it will return 0.
it should return a negative error code instead of 0.
Fixes: d435d53228dd ("erofs: change to use asynchronous io for fscache readpage/readahead")
Signed-off-by: Sun Ke <sunke32@huawei.com>
Reviewed-by: Jingbo Xu <jefflexu@linux.alibaba.com>
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Link: https://lore.kernel.org/r/20220815034829.3940803-1-sunke32@huawei.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions