summaryrefslogtreecommitdiffstats
path: root/fs/ubifs/super.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2011-06-03 13:22:05 +0200
committerArtem Bityutskiy <dedekind1@gmail.com>2011-07-04 09:54:33 +0200
commitd3b2578f56e0a77b9e261d83e9b5a0a666b82980 (patch)
tree99a4760399d97ffad28f0a7426682cbcd664056e /fs/ubifs/super.c
parentUBIFS: switch to ubifs_leb_write (diff)
downloadlinux-d3b2578f56e0a77b9e261d83e9b5a0a666b82980.tar.xz
linux-d3b2578f56e0a77b9e261d83e9b5a0a666b82980.zip
UBIFS: switch to I/O helpers
Switch the rest of direct UBI calls to UBIFS helper functions. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/ubifs/super.c')
-rw-r--r--fs/ubifs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c
index 285038548da9..b28121278d46 100644
--- a/fs/ubifs/super.c
+++ b/fs/ubifs/super.c
@@ -914,7 +914,7 @@ static int check_volume_empty(struct ubifs_info *c)
c->empty = 1;
for (lnum = 0; lnum < c->leb_cnt; lnum++) {
- err = ubi_is_mapped(c->ubi, lnum);
+ err = ubifs_is_mapped(c, lnum);
if (unlikely(err < 0))
return err;
if (err == 1) {