diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-06-03 07:22:05 -0400 |
---|---|---|
committer | Artem Bityutskiy <dedekind1@gmail.com> | 2011-07-04 03:54:33 -0400 |
commit | d3b2578f56e0a77b9e261d83e9b5a0a666b82980 (patch) | |
tree | 99a4760399d97ffad28f0a7426682cbcd664056e /fs/ubifs/super.c | |
parent | 987226a5d3a356792650f8e9028132a79815f6ef (diff) |
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.c | 2 |
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) | |||
914 | 914 | ||
915 | c->empty = 1; | 915 | c->empty = 1; |
916 | for (lnum = 0; lnum < c->leb_cnt; lnum++) { | 916 | for (lnum = 0; lnum < c->leb_cnt; lnum++) { |
917 | err = ubi_is_mapped(c->ubi, lnum); | 917 | err = ubifs_is_mapped(c, lnum); |
918 | if (unlikely(err < 0)) | 918 | if (unlikely(err < 0)) |
919 | return err; | 919 | return err; |
920 | if (err == 1) { | 920 | if (err == 1) { |