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

From: Zhihao Cheng
Date: Mon Jul 12 2021 - 09:36:56 EST


在 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@xxxxxxxxxx>
Reviewed-by: Alexander Sverdlin <alexander.sverdlin@xxxxxxxxx>
friendly ping