diff options
author | Hongbo Li <[email protected]> | 2024-04-24 16:42:47 +0800 |
---|---|---|
committer | Gao Xiang <[email protected]> | 2024-04-28 20:36:44 +0800 |
commit | 17597b1e18d2fafef2230c987479eccaeddb4628 (patch) | |
tree | beafd6f40fea7a704cd8b1c4fdded578a0df85e0 | |
parent | ed30a4a51bb196781c8058073ea720133a65596f (diff) |
erofs: modify the error message when prepare_ondemand_read failed
When prepare_ondemand_read failed, wrong error message is printed.
The prepare_read is also implemented in cachefiles, so we amend it.
Reviewed-by: Gao Xiang <[email protected]>
Signed-off-by: Hongbo Li <[email protected]>
Reviewed-by: Jingbo Xu <[email protected]>
Reviewed-by: Chao Yu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Gao Xiang <[email protected]>
-rw-r--r-- | fs/erofs/fscache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/erofs/fscache.c b/fs/erofs/fscache.c index 8aff1a724805..62da538d91cb 100644 --- a/fs/erofs/fscache.c +++ b/fs/erofs/fscache.c @@ -151,7 +151,7 @@ static int erofs_fscache_read_io_async(struct fscache_cookie *cookie, if (WARN_ON(len == 0)) source = NETFS_INVALID_READ; if (source != NETFS_READ_FROM_CACHE) { - erofs_err(NULL, "prepare_read failed (source %d)", source); + erofs_err(NULL, "prepare_ondemand_read failed (source %d)", source); return -EIO; } |