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

Jingbo Xu jefflexu at linux.alibaba.com
Thu Feb 9 17:14:25 AEDT 2023



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 at linux.alibaba.com>
>> Reviewed-by: Jia Zhu <zhujia.zj at bytedance.com>
> 
> 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


More information about the Linux-erofs mailing list