diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-05-29 20:16:27 +0300 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-06-08 11:14:21 +0300 |
commit | 3f36406f26437afae9f43cc6dcfc264143e21ed0 (patch) | |
tree | 358eccc333476a45d9071f0c63a90f936a325119 | |
parent | 8379ea31e991ed2098660954d25f64386adee65c (diff) |
UBIFS: do not forget to register BDI device
Reviewed-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
-rw-r--r-- | fs/ubifs/super.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c index d10fc88c7bb..b9b051a4c01 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) |