mirror of
				https://github.com/torvalds/linux.git
				synced 2025-10-31 16:48:26 +02:00 
			
		
		
		
	bad_inode_permission() is safe from RCU mode
return -EIO; is *not* a blocking operation, thank you very much. Nick, what the hell have you been smoking? Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
		
							parent
							
								
									185bf87393
								
							
						
					
					
						commit
						1712c20dae
					
				
					 1 changed files with 0 additions and 3 deletions
				
			
		|  | @ -231,9 +231,6 @@ static int bad_inode_readlink(struct dentry *dentry, char __user *buffer, | |||
| 
 | ||||
| static int bad_inode_permission(struct inode *inode, int mask, unsigned int flags) | ||||
| { | ||||
| 	if (flags & IPERM_FLAG_RCU) | ||||
| 		return -ECHILD; | ||||
| 
 | ||||
| 	return -EIO; | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Al Viro
						Al Viro