Skip to contentSkip to conversation

mtd-call-bdi_unregister-explicitly.patch removed from -mm tree

merged [email protected] 1 participant 1 message Nov 11, 2021

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: mtd: call bdi_unregister explicitly
has been removed from the -mm tree. Its filename was
mtd-call-bdi_unregister-explicitly.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Christoph Hellwig <[email protected]>
Subject: mtd: call bdi_unregister explicitly

Call bdi_unregister explicitly instead of relying on the automatic unregistration.

---

 drivers/mtd/mtdcore.c |    1 +
 1 file changed, 1 insertion(+)
drivers/mtd/mtdcore.c renamed from drivers/mtd/mtdcore.c~mtd-call-bdi_unregister-explicitly +1 -0
@@ -2409,6 +2409,7 @@ static void __exit cleanup_mtd(void)
 	if (proc_mtd)
 		remove_proc_entry("mtd", NULL);
 	class_unregister(&mtd_class);
+	bdi_unregister(mtd_bdi);
 	bdi_put(mtd_bdi);
 	idr_destroy(&mtd_idr);
 }

_

Patches currently in -mm which might be from [email protected] are

mm-unexport-folio_memcg_unlock.patch mm-unexport-unlock_page_memcg.patch