Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 305178
b: refs/heads/master
c: 66a2af3
h: refs/heads/master
v: v3
  • Loading branch information
Artem Bityutskiy committed May 20, 2012
1 parent f77e7ff commit 547bd37
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c87fbd7deb08315314654de5360c102acc8716ee
refs/heads/master: 66a2af3824d856684b9865f140998a134eb4c6d8
4 changes: 2 additions & 2 deletions trunk/drivers/mtd/ubi/build.c
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ static int attach_by_scanning(struct ubi_device *ubi)
if (err)
goto out_wl;

ubi_scan_destroy_ai(ai);
ubi_destroy_ai(ai);
return 0;

out_wl:
Expand All @@ -617,7 +617,7 @@ static int attach_by_scanning(struct ubi_device *ubi)
free_internal_volumes(ubi);
vfree(ubi->vtbl);
out_ai:
ubi_scan_destroy_ai(ai);
ubi_destroy_ai(ai);
return err;
}

Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/mtd/ubi/scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -1203,7 +1203,7 @@ struct ubi_attach_info *ubi_scan(struct ubi_device *ubi)
out_ech:
kfree(ech);
out_ai:
ubi_scan_destroy_ai(ai);
ubi_destroy_ai(ai);
return ERR_PTR(err);
}

Expand Down Expand Up @@ -1242,10 +1242,10 @@ static void destroy_av(struct ubi_attach_info *ai, struct ubi_ainf_volume *av)
}

/**
* ubi_scan_destroy_ai - destroy attaching information.
* ubi_destroy_ai - destroy attaching information.
* @ai: attaching information
*/
void ubi_scan_destroy_ai(struct ubi_attach_info *ai)
void ubi_destroy_ai(struct ubi_attach_info *ai)
{
struct ubi_ainf_peb *aeb, *aeb_tmp;
struct ubi_ainf_volume *av;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/mtd/ubi/scan.h
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,6 @@ void ubi_remove_av(struct ubi_attach_info *ai, struct ubi_ainf_volume *av);
struct ubi_ainf_peb *ubi_early_get_peb(struct ubi_device *ubi,
struct ubi_attach_info *ai);
struct ubi_attach_info *ubi_scan(struct ubi_device *ubi);
void ubi_scan_destroy_ai(struct ubi_attach_info *ai);
void ubi_destroy_ai(struct ubi_attach_info *ai);

#endif /* !__UBI_SCAN_H__ */

0 comments on commit 547bd37

Please sign in to comment.