mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 11:22:45 +00:00 
			
		
		
		
	Kernel: Propagate Vector append failures from Inode::apply_flock()
This commit is contained in:
		
							parent
							
								
									d106f20a73
								
							
						
					
					
						commit
						b285323d91
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -336,7 +336,7 @@ ErrorOr<void> Inode::apply_flock(Process const& process, OpenFileDescription con | |||
|         return EINVAL; | ||||
|     } | ||||
| 
 | ||||
|     m_flocks.append(Flock { new_lock.l_start, new_lock.l_len, &description, process.pid().value(), new_lock.l_type }); | ||||
|     TRY(m_flocks.try_append(Flock { new_lock.l_start, new_lock.l_len, &description, process.pid().value(), new_lock.l_type })); | ||||
|     return {}; | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling