lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <7ae4a071-56b3-410b-9c95-d6677dc46f25@huawei.com>
Date: Wed, 24 Apr 2024 16:44:27 +0800
From: Hongbo Li <lihongbo22@...wei.com>
To: Gao Xiang <hsiangkao@...ux.alibaba.com>, <xiang@...nel.org>,
	<chao@...nel.org>
CC: <huyue2@...lpad.com>, <jefflexu@...ux.alibaba.com>, <dhavale@...gle.com>,
	linux-erofs mailing list <linux-erofs@...ts.ozlabs.org>, LKML
	<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH -next] erofs: modify the error message when
 prepare_ondemand_read failed

ok, thanks!

On 2024/4/24 11:29, Gao Xiang wrote:
> 
> (+cc linux-erofs & LKML)
> 
> On 2024/4/24 10:39, Hongbo Li wrote:
>> When prepare_ondemand_read failed, wrong error message is printed.
>> The prepare_read is also implemented in cachefiles, so we amend it.
>>
>> Signed-off-by: Hongbo Li <lihongbo22@...wei.com>
> 
> Reviewed-by: Gao Xiang <hsiangkao@...ux.alibaba.com>
> 
> Could you resend the patch with proper mailing list cced with my
> "reviewed-by:" tag?  So I could apply with "b4" tool.
> 
> Thanks,
> Gao Xiang
> 
>> ---
>>   fs/erofs/fscache.c | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> 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;
>>           }

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ