[PATCH v2] mtd: mtd_blkdevs: Get|Put mtd_device in add|del_mtd_blktrans

Zhihao Cheng chengzhihao1 at huawei.com
Mon Jul 12 06:36:49 PDT 2021


在 2021/6/15 17:27, Alexander Sverdlin 写道:
> Hello!
>
> On 15/06/2021 11:13, Zhihao Cheng wrote:
>> There are two reasons to move mtd_device get|put operations into mtd
>> blktrans adding/deleting:
> ...
>
>> Fixes: 073db4a51ee43c ("mtd: fix: avoid race condition when ...")
>> Fixes: 008c751ec78587 ("mtd: allow to unload the mtdtrans module if ...")
>> Signed-off-by: Zhihao Cheng <chengzhihao1 at huawei.com>
> Reviewed-by: Alexander Sverdlin <alexander.sverdlin at nokia.com>
friendly ping





More information about the linux-mtd mailing list