projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
yaffs: Change all yaffs, YAFFS and Yaffs in Kconfig to yaffs
[yaffs2.git]
/
yaffs_verify.c
diff --git
a/yaffs_verify.c
b/yaffs_verify.c
index 1a5ed9a75362e0b06befc70195e1048f1274bbb6..87e39c886ea40f8a96eb38328776ef4222fb390a 100644
(file)
--- a/
yaffs_verify.c
+++ b/
yaffs_verify.c
@@
-425,7
+425,7
@@
void yaffs_verify_obj_in_dir(struct yaffs_obj *obj)
if (!obj) {
yaffs_trace(YAFFS_TRACE_ALWAYS, "No object to verify");
if (!obj) {
yaffs_trace(YAFFS_TRACE_ALWAYS, "No object to verify");
-
Y
BUG();
+ BUG();
return;
}
return;
}
@@
-434,13
+434,13
@@
void yaffs_verify_obj_in_dir(struct yaffs_obj *obj)
if (!obj->parent) {
yaffs_trace(YAFFS_TRACE_ALWAYS, "Object does not have parent");
if (!obj->parent) {
yaffs_trace(YAFFS_TRACE_ALWAYS, "Object does not have parent");
-
Y
BUG();
+ BUG();
return;
}
if (obj->parent->variant_type != YAFFS_OBJECT_TYPE_DIRECTORY) {
yaffs_trace(YAFFS_TRACE_ALWAYS, "Parent is not directory");
return;
}
if (obj->parent->variant_type != YAFFS_OBJECT_TYPE_DIRECTORY) {
yaffs_trace(YAFFS_TRACE_ALWAYS, "Parent is not directory");
-
Y
BUG();
+ BUG();
}
/* Iterate through the objects in each hash entry */
}
/* Iterate through the objects in each hash entry */
@@
-456,7
+456,7
@@
void yaffs_verify_obj_in_dir(struct yaffs_obj *obj)
yaffs_trace(YAFFS_TRACE_ALWAYS,
"Object in directory %d times",
count);
yaffs_trace(YAFFS_TRACE_ALWAYS,
"Object in directory %d times",
count);
-
Y
BUG();
+ BUG();
}
}
}
}
@@
-466,7
+466,7
@@
void yaffs_verify_dir(struct yaffs_obj *directory)
struct yaffs_obj *list_obj;
if (!directory) {
struct yaffs_obj *list_obj;
if (!directory) {
-
Y
BUG();
+ BUG();
return;
}
return;
}
@@
-477,7
+477,7
@@
void yaffs_verify_dir(struct yaffs_obj *directory)
yaffs_trace(YAFFS_TRACE_ALWAYS,
"Directory has wrong type: %d",
directory->variant_type);
yaffs_trace(YAFFS_TRACE_ALWAYS,
"Directory has wrong type: %d",
directory->variant_type);
-
Y
BUG();
+ BUG();
}
/* Iterate through the objects in each hash entry */
}
/* Iterate through the objects in each hash entry */
@@
-488,7
+488,7
@@
void yaffs_verify_dir(struct yaffs_obj *directory)
yaffs_trace(YAFFS_TRACE_ALWAYS,
"Object in directory list has wrong parent %p",
list_obj->parent);
yaffs_trace(YAFFS_TRACE_ALWAYS,
"Object in directory list has wrong parent %p",
list_obj->parent);
-
Y
BUG();
+ BUG();
}
yaffs_verify_obj_in_dir(list_obj);
}
}
yaffs_verify_obj_in_dir(list_obj);
}