projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs: More clean up
[yaffs2.git]
/
yaffs_yaffs2.c
diff --git
a/yaffs_yaffs2.c
b/yaffs_yaffs2.c
index 5162f15fc6e1b183173f2e29e389f369b11203c9..0bac099728540221eac9d16cf8b2faee747b1fc9 100644
(file)
--- a/
yaffs_yaffs2.c
+++ b/
yaffs_yaffs2.c
@@
-547,7
+547,7
@@
static int yaffs2_wr_checkpt_objs(struct yaffs_dev *dev)
struct yaffs_checkpt_obj cp;
int i;
int ok = 1;
struct yaffs_checkpt_obj cp;
int i;
int ok = 1;
- struct
y
list_head *lh;
+ struct list_head *lh;
/* Iterate through the objects in each hash entry,
/* Iterate through the objects in each hash entry,
@@
-555,9
+555,9
@@
static int yaffs2_wr_checkpt_objs(struct yaffs_dev *dev)
*/
for (i = 0; ok && i < YAFFS_NOBJECT_BUCKETS; i++) {
*/
for (i = 0; ok && i < YAFFS_NOBJECT_BUCKETS; i++) {
-
y
list_for_each(lh, &dev->obj_bucket[i].list) {
+ list_for_each(lh, &dev->obj_bucket[i].list) {
if (lh) {
if (lh) {
- obj =
y
list_entry(lh, struct yaffs_obj, hash_link);
+ obj = list_entry(lh, struct yaffs_obj, hash_link);
if (!obj->defered_free) {
yaffs2_obj_checkpt_obj(&cp, obj);
cp.struct_type = sizeof(cp);
if (!obj->defered_free) {
yaffs2_obj_checkpt_obj(&cp, obj);
cp.struct_type = sizeof(cp);
@@
-616,7
+616,7
@@
static int yaffs2_rd_checkpt_objs(struct yaffs_dev *dev)
ok = yaffs2_rd_checkpt_tnodes(obj);
} else if (obj->variant_type == YAFFS_OBJECT_TYPE_HARDLINK) {
obj->hard_links.next =
ok = yaffs2_rd_checkpt_tnodes(obj);
} else if (obj->variant_type == YAFFS_OBJECT_TYPE_HARDLINK) {
obj->hard_links.next =
- (struct
y
list_head *) hard_list;
+ (struct list_head *) hard_list;
hard_list = obj;
}
} else
hard_list = obj;
}
} else
@@
-1412,7
+1412,7
@@
int yaffs2_scan_backwards(struct yaffs_dev *dev)
/* Set up as a directory */
parent->variant_type =
YAFFS_OBJECT_TYPE_DIRECTORY;
/* Set up as a directory */
parent->variant_type =
YAFFS_OBJECT_TYPE_DIRECTORY;
-
Y
INIT_LIST_HEAD(&parent->variant.
+ INIT_LIST_HEAD(&parent->variant.
dir_variant.
children);
} else if (!parent || parent->variant_type !=
dir_variant.
children);
} else if (!parent || parent->variant_type !=
@@
-1472,7
+1472,7
@@
int yaffs2_scan_backwards(struct yaffs_dev *dev)
in->variant.hardlink_variant.equiv_id =
equiv_id;
in->hard_links.next =
in->variant.hardlink_variant.equiv_id =
equiv_id;
in->hard_links.next =
- (struct
y
list_head *) hard_list;
+ (struct list_head *) hard_list;
hard_list = in;
}
break;
hard_list = in;
}
break;