mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
UBIFS: do not forget to register BDI device
Reviewed-by: Jens Axboe <[email protected]> Signed-off-by: Artem Bityutskiy <[email protected]>
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