diff options
Diffstat (limited to 'fs/xfs/xfs_buf.c')
| -rw-r--r-- | fs/xfs/xfs_buf.c | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/xfs_buf.c b/fs/xfs/xfs_buf.c index d1da2ee9e6db..55661cbdb51b 100644 --- a/fs/xfs/xfs_buf.c +++ b/fs/xfs/xfs_buf.c @@ -1708,7 +1708,7 @@ xfs_buftarg_isolate(  	 * zero. If the value is already zero, we need to reclaim the  	 * buffer, otherwise it gets another trip through the LRU.  	 */ -	if (!atomic_add_unless(&bp->b_lru_ref, -1, 0)) { +	if (atomic_add_unless(&bp->b_lru_ref, -1, 0)) {  		spin_unlock(&bp->b_lock);  		return LRU_ROTATE;  	} @@ -1754,7 +1754,6 @@ xfs_buftarg_shrink_count(  void  xfs_free_buftarg( -	struct xfs_mount	*mp,  	struct xfs_buftarg	*btp)  {  	unregister_shrinker(&btp->bt_shrinker);  | 
