mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 06:02:44 +00:00 
			
		
		
		
	Kernel+LibC: Pack SC_mount_params struct tighter
Flagged by pvs-studio, ordering the members from largest to smallest allows us to save a few bytes in the size of the struct.
This commit is contained in:
		
							parent
							
								
									dcb327a83b
								
							
						
					
					
						commit
						be15bd3c86
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -426,9 +426,9 @@ struct SC_rename_params { | |||
| }; | ||||
| 
 | ||||
| struct SC_mount_params { | ||||
|     int source_fd; | ||||
|     StringArgument target; | ||||
|     StringArgument fs_type; | ||||
|     int source_fd; | ||||
|     int flags; | ||||
| }; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Brian Gianforcaro
						Brian Gianforcaro