diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-05-29 13:16:27 -0400 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-06-08 04:14:21 -0400 |
commit | 3f36406f26437afae9f43cc6dcfc264143e21ed0 (patch) | |
tree | 358eccc333476a45d9071f0c63a90f936a325119 /fs | |
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>
Diffstat (limited to 'fs')
-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 d10fc88c7bbd..b9b051a4c01e 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) | |||
1966 | err = bdi_init(&c->bdi); | 1966 | err = bdi_init(&c->bdi); |
1967 | if (err) | 1967 | if (err) |
1968 | goto out_close; | 1968 | goto out_close; |
1969 | err = bdi_register(&c->bdi, NULL, "ubifs"); | ||
1970 | if (err) | ||
1971 | goto out_bdi; | ||
1969 | 1972 | ||
1970 | err = ubifs_parse_options(c, data, 0); | 1973 | err = ubifs_parse_options(c, data, 0); |
1971 | if (err) | 1974 | if (err) |