ubifs: register backing_dev_info
authorJens Axboe <jens.axboe@oracle.com>
Fri, 29 May 2009 07:19:23 +0000 (09:19 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 16 Jun 2009 06:21:04 +0000 (08:21 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fs/ubifs/super.c

index 3589eab02a2f55666551e6c25393d8b740952914..3260b73abe29c322cb5f66bb5dc3337a7aedd769 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)