The patch titled Subject: mm: export bdi_unregister has been added to the -mm tree. Its filename is mm-export-bdi_unregister.patch This patch should soon appear at https://ozlabs.org/~akpm/mmots/broken-out/mm-export-bdi_unregister.patch and later at https://ozlabs.org/~akpm/mmotm/broken-out/mm-export-bdi_unregister.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Christoph Hellwig <hch@xxxxxx> Subject: mm: export bdi_unregister Patch series "simplify bdi unregistation". This series simplifies the BDI code to get rid of the magic auto-unregister feature that hid a recent block layer refcounting bug. This patch (of 5): To wind down the magic auto-unregister semantics we'll need to push this into modular code. Link: https://lkml.kernel.org/r/20211021124441.668816-1-hch@xxxxxx Link: https://lkml.kernel.org/r/20211021124441.668816-2-hch@xxxxxx Signed-off-by: Christoph Hellwig <hch@xxxxxx> Cc: Miquel Raynal <miquel.raynal@xxxxxxxxxxx> Cc: Richard Weinberger <richard@xxxxxx> Cc: Vignesh Raghavendra <vigneshr@xxxxxx> Cc: Jan Kara <jack@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/backing-dev.c | 1 + 1 file changed, 1 insertion(+) --- a/mm/backing-dev.c~mm-export-bdi_unregister +++ a/mm/backing-dev.c @@ -965,6 +965,7 @@ void bdi_unregister(struct backing_dev_i bdi->owner = NULL; } } +EXPORT_SYMBOL(bdi_unregister); static void release_bdi(struct kref *ref) { _ Patches currently in -mm which might be from hch@xxxxxx are mm-dont-include-linux-daxh-in-linux-mempolicyh.patch mm-export-bdi_unregister.patch mtd-call-bdi_unregister-explicitly.patch fs-explicitly-unregister-per-superblock-bdis.patch mm-dont-automatically-unregister-bdis.patch mm-simplify-bdi-refcounting.patch mm-unexport-folio_memcg_unlock.patch mm-unexport-unlock_page_memcg.patch