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

Chao Yu yuchao0 at huawei.com
Wed Jun 26 07:13:52 UTC 2019


On 2019/6/26 11:30, Yue Hu wrote:
> From: Yue Hu <huyue2 at yulong.com>
> 
> 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 at yulong.com>

Reviewed-by: Chao Yu <yuchao0 at huawei.com>

Thanks,


More information about the devel mailing list