mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 19:42:43 +00:00 
			
		
		
		
	Fix bug where allocating a new inode forgot that inodes are 1-based.
This commit is contained in:
		
							parent
							
								
									b0eaca436c
								
							
						
					
					
						commit
						5c50d02c2e
					
				
					 3 changed files with 7 additions and 5 deletions
				
			
		|  | @ -38,8 +38,10 @@ int main(int c, char** v) | |||
|         return 1; | ||||
|     } | ||||
| 
 | ||||
|     //auto newFile = vfs.create("/empty");
 | ||||
|     //printf("vfs.create: %p\n", newFile.ptr());
 | ||||
| #if 1 | ||||
|     auto newFile = vfs.create("/empty"); | ||||
|     printf("vfs.create: %p\n", newFile.ptr()); | ||||
| #endif | ||||
|     //return 0;
 | ||||
| 
 | ||||
|     if (!strcmp(v[0], "./vcat")) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling