ubifs: register backing_dev_info
Jens Axboe [Fri, 29 May 2009 07:19:23 +0000 (09:19 +0200)]
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>

fs/ubifs/super.c

index 3589eab..3260b73 100644 (file)
@@ -1937,6 +1937,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)