mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	ocfs2: Filter -ENOSPC in mlog_errno()
It's almost never worth printing in that situation and we keep forgetting to manually filter it out. Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
This commit is contained in:
		
							parent
							
								
									2759236f84
								
							
						
					
					
						commit
						ef9f86ceb6
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -212,7 +212,7 @@ extern struct mlog_bits mlog_and_bits, mlog_not_bits;
 | 
				
			||||||
#define mlog_errno(st) do {						\
 | 
					#define mlog_errno(st) do {						\
 | 
				
			||||||
	int _st = (st);							\
 | 
						int _st = (st);							\
 | 
				
			||||||
	if (_st != -ERESTARTSYS && _st != -EINTR &&			\
 | 
						if (_st != -ERESTARTSYS && _st != -EINTR &&			\
 | 
				
			||||||
	    _st != AOP_TRUNCATED_PAGE)					\
 | 
						    _st != AOP_TRUNCATED_PAGE && _st != -ENOSPC)		\
 | 
				
			||||||
		mlog(ML_ERROR, "status = %lld\n", (long long)_st);	\
 | 
							mlog(ML_ERROR, "status = %lld\n", (long long)_st);	\
 | 
				
			||||||
} while (0)
 | 
					} while (0)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue