Changeset 752
- Timestamp:
- 07/08/08 15:44:19 (5 months ago)
- Location:
- Whitix/branches/fs/fs
- Files:
-
- 4 modified
-
ext3/ext3.h (modified) (3 diffs)
-
ext3/inode.c (modified) (1 diff)
-
ext3/super.c (modified) (1 diff)
-
vfs/bcache.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
Whitix/branches/fs/fs/ext3/ext3.h
r747 r752 20 20 #define EXT3_H 21 21 22 #include <fs/journal.h> 22 23 #include <fs/vfs.h> 23 24 #include <init.h> … … 94 95 DWORD firstDataBlock, blocksPerGrp; 95 96 struct Buffer** descs; 97 struct Journal* journal; 96 98 }; 97 99 … … 177 179 #define INODES_PER_BLOCK(s) (BYTES_PER_SECTOR(s)/sizeof(struct Ext3INode)) 178 180 #define EXT3_SUPERINFO(s) ((struct Ext3SbInfo*)((s)->privData)) 181 #define EXT3_JOURNAL(vNode) (EXT3_SUPERINFO((vNode)->superBlock)->journal) 179 182 180 183 #define EXT3_SB_MAGIC 0xEF53 -
Whitix/branches/fs/fs/ext3/inode.c
r747 r752 83 83 int Ext3DirtyVNode(struct VNode* vNode) 84 84 { 85 KePrint("Ext3DirtyVNode\n"); 86 cli(); hlt(); 85 struct JournalHandle* handle; 86 87 handle=JournalStart(EXT3_JOURNAL(vNode), 2); 88 87 89 return 0; 88 90 } -
Whitix/branches/fs/fs/ext3/super.c
r747 r752 55 55 56 56 KePrint("EXT3: Found journal at %#X: size = %#X\n", iNo, journal->size); 57 58 /* Let the journal layer handle the replaying. */ 59 EXT3_SUPERINFO(superBlock)->journal=JournalCreate(journal); 57 60 58 61 return 0; -
Whitix/branches/fs/fs/vfs/bcache.c
r696 r752 446 446 ThrSchedule(); 447 447 448 /* Really have to go through everything? */449 448 ListForEachEntry(sDevice,&sDeviceList,list) 450 449 BlockSyncDevice(sDevice);