Re: [PATCH RESEND] staging: erofs: return the error value if fill_inline_data() fails

From: Chao Yu
Date: Wed Jun 26 2019 - 03:14:12 EST


On 2019/6/26 11:30, Yue Hu wrote:
> From: Yue Hu <huyue2@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>

Reviewed-by: Chao Yu <yuchao0@xxxxxxxxxx>

Thanks,