[PATCH 1/5] mm: export bdi_unregister

Christoph Hellwig hch at lst.de
Thu Oct 21 05:44:37 PDT 2021


To wind down the magic auto-unregister semantics we'll need to push this
into modular code.

Signed-off-by: Christoph Hellwig <hch at lst.de>
---
 mm/backing-dev.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mm/backing-dev.c b/mm/backing-dev.c
index 4a9d4e27d0d9b..8a46a0a4b72fa 100644
--- a/mm/backing-dev.c
+++ b/mm/backing-dev.c
@@ -958,6 +958,7 @@ void bdi_unregister(struct backing_dev_info *bdi)
 		bdi->owner = NULL;
 	}
 }
+EXPORT_SYMBOL(bdi_unregister);
 
 static void release_bdi(struct kref *ref)
 {
-- 
2.30.2




More information about the linux-mtd mailing list