Re: [PATCH v2 3/4] erofs: relinquish volume with mutex held

From: Jingbo Xu
Date: Thu Feb 09 2023 - 01:14:39 EST




On 2/9/23 2:06 PM, Gao Xiang wrote:
>
>
> On 2023/2/9 13:18, Jingbo Xu wrote:
>> Relinquish fscache volume with mutex held.  Otherwise if a new domain is
>> registered when the old domain with the same name gets removed from the
>> list but not relinquished yet, fscache may complain the collision.
>>
>> Signed-off-by: Jingbo Xu <jefflexu@xxxxxxxxxxxxxxxxx>
>> Reviewed-by: Jia Zhu <zhujia.zj@xxxxxxxxxxxxx>
>
> Do we need to backport this to old kernels?
> IOWs, whether "Fixes:" tag is needed?

Yeah the small fix is appropriate for being backported.

Fixes: 8b7adf1dff3d ("erofs: introduce fscache-based domain")

I will add the "Fixes" tag in the next version.


--
Thanks,
Jingbo