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/sb.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/sb.c')
-rw-r--r-- | fs/ubifs/sb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ubifs/sb.c b/fs/ubifs/sb.c index 701dccc1d6de..93d938ad3d2a 100644 --- a/fs/ubifs/sb.c +++ b/fs/ubifs/sb.c | |||
@@ -674,7 +674,7 @@ static int fixup_leb(struct ubifs_info *c, int lnum, int len) | |||
674 | 674 | ||
675 | if (len == 0) { | 675 | if (len == 0) { |
676 | dbg_mnt("unmap empty LEB %d", lnum); | 676 | dbg_mnt("unmap empty LEB %d", lnum); |
677 | return ubi_leb_unmap(c->ubi, lnum); | 677 | return ubifs_leb_unmap(c, lnum); |
678 | } | 678 | } |
679 | 679 | ||
680 | dbg_mnt("fixup LEB %d, data len %d", lnum, len); | 680 | dbg_mnt("fixup LEB %d, data len %d", lnum, len); |
@@ -682,7 +682,7 @@ static int fixup_leb(struct ubifs_info *c, int lnum, int len) | |||
682 | if (err) | 682 | if (err) |
683 | return err; | 683 | return err; |
684 | 684 | ||
685 | return ubi_leb_change(c->ubi, lnum, c->sbuf, len, UBI_UNKNOWN); | 685 | return ubifs_leb_change(c, lnum, c->sbuf, len, UBI_UNKNOWN); |
686 | } | 686 | } |
687 | 687 | ||
688 | /** | 688 | /** |