mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 00:42:44 +00:00 
			
		
		
		
	Kernel: Populate stat.st_dev with fsid
				
					
				
			This allows userland programs to differentiate inodes on different filesystems.
This commit is contained in:
		
							parent
							
								
									4cefb02324
								
							
						
					
					
						commit
						ad984ba522
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -104,7 +104,7 @@ struct InodeMetadata { | ||||||
|         buffer.st_nlink = link_count; |         buffer.st_nlink = link_count; | ||||||
|         buffer.st_uid = uid.value(); |         buffer.st_uid = uid.value(); | ||||||
|         buffer.st_gid = gid.value(); |         buffer.st_gid = gid.value(); | ||||||
|         buffer.st_dev = 0; // FIXME
 |         buffer.st_dev = inode.fsid().value(); | ||||||
|         buffer.st_size = size; |         buffer.st_size = size; | ||||||
|         buffer.st_blksize = block_size; |         buffer.st_blksize = block_size; | ||||||
|         buffer.st_blocks = block_count; |         buffer.st_blocks = block_count; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Tim Ledbetter
						Tim Ledbetter