mirror of https://github.com/OpenIPC/firmware.git
				
				
				
			
		
			
				
	
	
		
			12 lines
		
	
	
		
			369 B
		
	
	
	
		
			Diff
		
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			369 B
		
	
	
	
		
			Diff
		
	
	
| --- linux-4.9.37/fs/xfs/xfs_buf.c	2017-07-12 16:42:41.000000000 +0300
 | |
| +++ linux-4.9.y/fs/xfs/xfs_buf.c	2021-06-07 13:01:34.000000000 +0300
 | |
| @@ -116,7 +116,7 @@
 | |
|  __xfs_buf_ioacct_dec(
 | |
|  	struct xfs_buf	*bp)
 | |
|  {
 | |
| -	ASSERT(spin_is_locked(&bp->b_lock));
 | |
| +	lockdep_assert_held(&bp->b_lock);
 | |
|  
 | |
|  	if (bp->b_state & XFS_BSTATE_IN_FLIGHT) {
 | |
|  		bp->b_state &= ~XFS_BSTATE_IN_FLIGHT;
 |