summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2009-05-29 09:19:23 +0200
committerJens Axboe <jens.axboe@oracle.com>2009-06-16 08:21:04 +0200
commita979eff1811a07f5fd331c5f6f727370747b42ad (patch)
tree0d01a02a3ad0ca590570feefc0e9be834b330b74
parentad081f1430515d0b727eba99ec435a526c61a599 (diff)
downloadop-kernel-dev-a979eff1811a07f5fd331c5f6f727370747b42ad.zip
op-kernel-dev-a979eff1811a07f5fd331c5f6f727370747b42ad.tar.gz
ubifs: register backing_dev_info
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
-rw-r--r--fs/ubifs/super.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c
index 3589eab..3260b73 100644
--- a/fs/ubifs/super.c
+++ b/fs/ubifs/super.c
@@ -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)
OpenPOWER on IntegriCloud