]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
UBI: rename ubi_scan_move_to_list
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Thu, 17 May 2012 12:53:10 +0000 (15:53 +0300)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Sun, 20 May 2012 17:26:03 +0000 (20:26 +0300)
The old name is not logical anymore - rename it to 'ubi_move_aeb_to_list()'.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/ubi/eba.c
drivers/mtd/ubi/scan.h

index 6f7f275665240fba339dad500a22391d98facd37..2592d1cc288eb8e8ee675bc11c5b49a6f12b1f95 100644 (file)
@@ -1256,7 +1256,7 @@ int ubi_eba_init_scan(struct ubi_device *ubi, struct ubi_attach_info *ai)
                                 * This may happen in case of an unclean reboot
                                 * during re-size.
                                 */
-                               ubi_scan_move_to_list(av, aeb, &ai->erase);
+                               ubi_move_aeb_to_list(av, aeb, &ai->erase);
                        vol->eba_tbl[aeb->lnum] = aeb->pnum;
                }
        }
index a406f5b4ffeb8613a6a945d6b002e92e1836a237..aa76b3b5c6b580614da0f67306b38d3e8bfdf40f 100644 (file)
@@ -143,13 +143,13 @@ struct ubi_device;
 struct ubi_vid_hdr;
 
 /*
- * ubi_scan_move_to_list - move a PEB from the volume tree to a list.
+ * ubi_move_aeb_to_list - move a PEB from the volume tree to a list.
  *
  * @av: volume attaching information
  * @aeb: scanning eraseblock information
  * @list: the list to move to
  */
-static inline void ubi_scan_move_to_list(struct ubi_ainf_volume *av,
+static inline void ubi_move_aeb_to_list(struct ubi_ainf_volume *av,
                                         struct ubi_ainf_peb *aeb,
                                         struct list_head *list)
 {