Commit 3f36406f authored by Artem Bityutskiy's avatar Artem Bityutskiy

UBIFS: do not forget to register BDI device

Reviewed-by: default avatarJens Axboe <jens.axboe@oracle.com>
Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
parent 8379ea31
......@@ -1966,6 +1966,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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment