Changeset 809 for Whitix/branches/fs/fs/ext3/ialloc.c
- Timestamp:
- 07/15/08 10:05:10 (4 months ago)
- Files:
-
- 1 modified
-
Whitix/branches/fs/fs/ext3/ialloc.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Whitix/branches/fs/fs/ext3/ialloc.c
r807 r809 18 18 19 19 #include <bitmap.h> 20 #include <malloc.h> 21 #include <print.h> 20 22 21 23 #include "ext3.h" … … 37 39 struct VNode* Ext3CreateINode(struct JournalHandle* handle, struct VNode* dir, int isDir) 38 40 { 39 DWORD groupNo ;40 struct Ext3GroupDesc* desc ;41 struct Buffer* groupBuffer ;41 DWORD groupNo=0; 42 struct Ext3GroupDesc* desc=NULL; 43 struct Buffer* groupBuffer=NULL; 42 44 struct Buffer* bitmapBuffer; 43 inti;45 DWORD i; 44 46 struct VfsSuperBlock* superBlock=dir->superBlock; 45 47 struct Ext3SbInfo* sbInfo=EXT3_SUPERINFO(superBlock); … … 73 75 } 74 76 } 77 78 if (!groupBuffer || !desc) 79 return -ENOSPC; 75 80 76 81 bitmapBuffer=Ext3INodeLoadBitmap(superBlock, groupNo);
