- struct ylist_head *i;
- yaffsfs_DirectorySearchContext *dsc;
-
- /* if search contexts not initilised then skip */
- if(!search_contexts.next)
- return;
-
- /* Iterate through the directory search contexts.
- * If any are the one being removed, then advance the dsc to
- * the next one to prevent a hanging ptr.
- */
- ylist_for_each(i, &search_contexts) {
- if (i) {
- dsc = ylist_entry(i, yaffsfs_DirectorySearchContext,others);
- if(dsc->nextReturn == obj)
- yaffsfs_DirAdvance(dsc);
- }
+ struct ylist_head *i;
+ yaffsfs_DirectorySearchContext *dsc;
+
+ /* if search contexts not initilised then skip */
+ if(!search_contexts.next)
+ return;
+
+ /* Iterate through the directory search contexts.
+ * If any are the one being removed, then advance the dsc to
+ * the next one to prevent a hanging ptr.
+ */
+ ylist_for_each(i, &search_contexts) {
+ if (i) {
+ dsc = ylist_entry(i, yaffsfs_DirectorySearchContext,others);
+ if(dsc->nextReturn == obj)
+ yaffsfs_DirAdvance(dsc);
+ }