Changeset 1959 for Whitix/tags
- Timestamp:
- 02/28/09 16:06:53 (3 years ago)
- Files:
-
- 1 modified
-
Whitix/tags/0.2b/fs/vfs/super.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Whitix/tags/0.2b/fs/vfs/super.c
r1904 r1959 104 104 struct VNode* mountNode=NULL,*deviceNode=NULL; 105 105 struct StorageDevice* sDevice=NULL; 106 struct FileSystem* curr ;106 struct FileSystem* curr, *curr2; 107 107 int err; 108 108 struct VfsSuperBlock* superBlock=NULL; … … 146 146 return err; 147 147 148 SpinLock(&fsListLock);149 150 148 /* Now cycle through each superblock and read */ 151 ListForEachEntry (curr,&fsList,list)149 ListForEachEntrySafe(curr,curr2, &fsList,list) 152 150 { 153 151 /* If we are given a filesystem name, check that the names match */ … … 159 157 break; 160 158 } 161 162 SpinUnlock(&fsListLock);163 159 164 160 if (!superBlock)
