mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
UBIFS: do not forget to register BDI device
Reviewed-by: Jens Axboe <jens.axboe@oracle.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
This commit is contained in:
parent
8379ea31e9
commit
3f36406f26
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue