diff options
| author | Sun Ke <[email protected]> | 2022-08-15 03:48:29 +0000 |
|---|---|---|
| committer | Gao Xiang <[email protected]> | 2022-09-05 15:21:15 +0000 |
| commit | 5bd9628b784cc5e38e1c7ebb680bbd6ee741230e (patch) | |
| tree | fa9217830706d125eb53d9e1a691e478e2589fe0 /drivers/usb/cdns3/cdns3-imx.c | |
| parent | Linux 6.0-rc1 (diff) | |
| download | kernel-5bd9628b784cc5e38e1c7ebb680bbd6ee741230e.tar.gz kernel-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 <[email protected]>
Reviewed-by: Jingbo Xu <[email protected]>
Reviewed-by: Gao Xiang <[email protected]>
Reviewed-by: Chao Yu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Gao Xiang <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions
