Re: [PATCH] fs/ceph/export: remove unused variable 'err'

From: Qiujun Huang
Date: Wed Mar 04 2020 - 19:45:17 EST


On Thu, Mar 5, 2020 at 4:36 AM Jeff Layton <jlayton@xxxxxxxxxx> wrote:
>
> I think we probably ought to just return ERR_PTR(err) in that case
> instead of discarding it. It looks like today we'll end up returning
> ENOENT when that errors out which doesn't seem right when there is a
> different issue.

I get that, thanks.

>
> --
> Jeff Layton <jlayton@xxxxxxxxxx>
>