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_verify.c
diff --git
a/yaffs_verify.c
b/yaffs_verify.c
index 95093df0db2fe671c8bf8707bb7673e9096e352d..e15bb321fc6d7cb762c8fdf00e5cbb86e14ee6ae 100644
(file)
--- a/
yaffs_verify.c
+++ b/
yaffs_verify.c
@@
-403,7
+403,7
@@
void yaffs_verify_objects(struct yaffs_dev *dev)
{
struct yaffs_obj *obj;
int i;
{
struct yaffs_obj *obj;
int i;
- struct
y
list_head *lh;
+ struct list_head *lh;
if (yaffs_skip_verification(dev))
return;
if (yaffs_skip_verification(dev))
return;
@@
-411,9
+411,9
@@
void yaffs_verify_objects(struct yaffs_dev *dev)
/* Iterate through the objects in each hash entry */
for (i = 0; i < YAFFS_NOBJECT_BUCKETS; i++) {
/* Iterate through the objects in each hash entry */
for (i = 0; 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);
yaffs_verify_obj(obj);
}
}
yaffs_verify_obj(obj);
}
}
@@
-423,7
+423,7
@@
void yaffs_verify_objects(struct yaffs_dev *dev)
void yaffs_verify_obj_in_dir(struct yaffs_obj *obj)
{
void yaffs_verify_obj_in_dir(struct yaffs_obj *obj)
{
- struct
y
list_head *lh;
+ struct list_head *lh;
struct yaffs_obj *list_obj;
int count = 0;
struct yaffs_obj *list_obj;
int count = 0;
@@
-450,9
+450,9
@@
void yaffs_verify_obj_in_dir(struct yaffs_obj *obj)
/* Iterate through the objects in each hash entry */
/* Iterate through the objects in each hash entry */
-
y
list_for_each(lh, &obj->parent->variant.dir_variant.children) {
+ list_for_each(lh, &obj->parent->variant.dir_variant.children) {
if (lh) {
if (lh) {
- list_obj =
y
list_entry(lh, struct yaffs_obj, siblings);
+ list_obj = list_entry(lh, struct yaffs_obj, siblings);
yaffs_verify_obj(list_obj);
if (obj == list_obj)
count++;
yaffs_verify_obj(list_obj);
if (obj == list_obj)
count++;
@@
-467,7
+467,7
@@
void yaffs_verify_obj_in_dir(struct yaffs_obj *obj)
void yaffs_verify_dir(struct yaffs_obj *directory)
{
void yaffs_verify_dir(struct yaffs_obj *directory)
{
- struct
y
list_head *lh;
+ struct list_head *lh;
struct yaffs_obj *list_obj;
if (!directory) {
struct yaffs_obj *list_obj;
if (!directory) {
@@
-487,9
+487,9
@@
void yaffs_verify_dir(struct yaffs_obj *directory)
/* Iterate through the objects in each hash entry */
/* Iterate through the objects in each hash entry */
-
y
list_for_each(lh, &directory->variant.dir_variant.children) {
+ list_for_each(lh, &directory->variant.dir_variant.children) {
if (lh) {
if (lh) {
- list_obj =
y
list_entry(lh, struct yaffs_obj, siblings);
+ list_obj = list_entry(lh, struct yaffs_obj, siblings);
if (list_obj->parent != directory) {
T(YAFFS_TRACE_ALWAYS, (
TSTR("Object in directory list has wrong parent %p" TENDSTR),
if (list_obj->parent != directory) {
T(YAFFS_TRACE_ALWAYS, (
TSTR("Object in directory list has wrong parent %p" TENDSTR),