Skip to content

Commit

Permalink
UBI: rename ubi_scan_move_to_list
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Artem Bityutskiy committed May 20, 2012
1 parent 66a2af3 commit 0bae288
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/mtd/ubi/eba.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down
4 changes: 2 additions & 2 deletions drivers/mtd/ubi/scan.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 0bae288

Please sign in to comment.