[PATCH 1/5] mm: export bdi_unregister

Jan Kara jack at suse.cz
Fri Oct 22 01:41:49 PDT 2021


On Thu 21-10-21 14:44:37, Christoph Hellwig wrote:
> 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>

Looks good. Feel free to add:

Reviewed-by: Jan Kara <jack at suse.cz>

								Honza

> ---
>  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
> 
-- 
Jan Kara <jack at suse.com>
SUSE Labs, CR



More information about the linux-mtd mailing list