From: Artem Bityutskiy Date: Fri, 29 May 2009 17:16:27 +0000 (+0300) Subject: UBIFS: do not forget to register BDI device X-Git-Tag: v2.6.31-rc1~287^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3f36406f26437afae9f43cc6dcfc264143e21ed0;p=platform%2Fkernel%2Flinux-3.10.git UBIFS: do not forget to register BDI device Reviewed-by: Jens Axboe Signed-off-by: Artem Bityutskiy --- diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c index d10fc88..b9b051a 100644 --- a/fs/ubifs/super.c +++ b/fs/ubifs/super.c @@ -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)