ubifs: register backing_dev_info
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
This commit is contained in:
parent
ad081f1430
commit
a979eff181
1 changed files with 3 additions and 0 deletions
|
@ -1937,6 +1937,9 @@ static int ubifs_fill_super(struct super_block *sb, void *data, int silent)
|
||||||
err = bdi_init(&c->bdi);
|
err = bdi_init(&c->bdi);
|
||||||
if (err)
|
if (err)
|
||||||
goto out_close;
|
goto out_close;
|
||||||
|
err = bdi_register(&c->bdi, NULL, "ubifs");
|
||||||
|
if (err)
|
||||||
|
goto out_bdi;
|
||||||
|
|
||||||
err = ubifs_parse_options(c, data, 0);
|
err = ubifs_parse_options(c, data, 0);
|
||||||
if (err)
|
if (err)
|
||||||
|
|
Loading…
Reference in a new issue