Skip to content

Commit

Permalink
UBIFS: do not forget to register BDI device
Browse files Browse the repository at this point in the history
Reviewed-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
  • Loading branch information
Artem Bityutskiy authored and Artem Bityutskiy committed Jun 8, 2009
1 parent 8379ea3 commit 3f36406
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fs/ubifs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3f36406

Please sign in to comment.