Re: [PATCH] orangefs: Fix possible NULL deference in orangefs_mount

From: Dan Carpenter
Date: Fri Feb 23 2024 - 01:23:10 EST


On Fri, Feb 23, 2024 at 10:11:03AM +0800, Su Hui wrote:
> On 2024/2/22 18:45, Dan Carpenter wrote:
>
> > This was already fixed in commit:
> > 9bf93dcfc453 ("Julia Lawall reported this null pointer dereference, this
> > should fix it.")
> >
> > Amusing subject... :P
>
> Oh, really sorry for this. I forgot to check the linux-next git.
>
> I'm not sure if commit 9bf93dcfc453 will lead to sb refcount leak which was
> previously fixed
> by ac2c63757f4f ("orangefs: Fix sb refcount leak when allocate sb info
> failed.").
>

Yeah, you're right. Do you want to re-fix that?

regards,
dan carpenter