diff options
author | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-05-17 08:36:39 -0400 |
---|---|---|
committer | Artem Bityutskiy <artem.bityutskiy@linux.intel.com> | 2012-05-20 13:26:03 -0400 |
commit | d717dc2f85f07f68d313ac4f8f9f460f1e17dee0 (patch) | |
tree | c9797a46c3800b79a00106b7a4a3cad720c49452 /drivers/mtd/ubi/vtbl.c | |
parent | dcd85fdd1040259f0053137f252321faec0a259f (diff) |
UBI: rename ubi_scan_rm_volume
The old name is not logical anymore - rename it to 'ubi_remove_av()'.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'drivers/mtd/ubi/vtbl.c')
-rw-r--r-- | drivers/mtd/ubi/vtbl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/ubi/vtbl.c b/drivers/mtd/ubi/vtbl.c index 0c8c17282c81..cfe3830759bd 100644 --- a/drivers/mtd/ubi/vtbl.c +++ b/drivers/mtd/ubi/vtbl.c | |||
@@ -738,7 +738,7 @@ static int check_scanning_info(const struct ubi_device *ubi, | |||
738 | vol = ubi->volumes[i]; | 738 | vol = ubi->volumes[i]; |
739 | if (!vol) { | 739 | if (!vol) { |
740 | if (av) | 740 | if (av) |
741 | ubi_scan_rm_volume(ai, av); | 741 | ubi_remove_av(ai, av); |
742 | continue; | 742 | continue; |
743 | } | 743 | } |
744 | 744 | ||
@@ -756,7 +756,7 @@ static int check_scanning_info(const struct ubi_device *ubi, | |||
756 | * these eraseblocks. | 756 | * these eraseblocks. |
757 | */ | 757 | */ |
758 | ubi_msg("finish volume %d removal", av->vol_id); | 758 | ubi_msg("finish volume %d removal", av->vol_id); |
759 | ubi_scan_rm_volume(ai, av); | 759 | ubi_remove_av(ai, av); |
760 | } else if (av) { | 760 | } else if (av) { |
761 | err = check_av(vol, av); | 761 | err = check_av(vol, av); |
762 | if (err) | 762 | if (err) |