From: Jens Axboe Date: Fri, 29 May 2009 07:19:23 +0000 (+0200) Subject: ubifs: register backing_dev_info X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a979eff1811a07f5fd331c5f6f727370747b42ad;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git ubifs: register backing_dev_info Signed-off-by: Jens Axboe --- diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c index 3589eab02a2f..3260b73abe29 100644 --- a/fs/ubifs/super.c +++ b/fs/ubifs/super.c @@ -1937,6 +1937,9 @@ static int ubifs_fill_super(struct super_block *sb, void *data, int silent) err = bdi_init(&c->bdi); if (err) goto out_close; + err = bdi_register(&c->bdi, NULL, "ubifs"); + if (err) + goto out_bdi; err = ubifs_parse_options(c, data, 0); if (err)