mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-10-31 16:54:21 +00:00 
			
		
		
		
	orangefs: no need to check for service_operation returns > 0
service_operation returns > 0 is undefined. Signed-off-by: Mike Marshall <hubcap@omnibond.com>
This commit is contained in:
		
							parent
							
								
									34e6148a2c
								
							
						
					
					
						commit
						22fc9db296
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -157,7 +157,7 @@ static struct dentry *orangefs_lookup(struct inode *dir, struct dentry *dentry, | |||
| 		     new_op->downcall.resp.lookup.refn.fs_id, | ||||
| 		     ret); | ||||
| 
 | ||||
| 	if (ret >= 0) { | ||||
| 	if (ret == 0) { | ||||
| 		orangefs_set_timeout(dentry); | ||||
| 		inode = orangefs_iget(dir->i_sb, &new_op->downcall.resp.lookup.refn); | ||||
| 	} else if (ret == -ENOENT) { | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Mike Marshall
						Mike Marshall