|
@@ -1708,7 +1708,7 @@ xfs_buftarg_isolate(
|
|
* zero. If the value is already zero, we need to reclaim the
|
|
* zero. If the value is already zero, we need to reclaim the
|
|
* buffer, otherwise it gets another trip through the LRU.
|
|
* 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);
|
|
spin_unlock(&bp->b_lock);
|
|
return LRU_ROTATE;
|
|
return LRU_ROTATE;
|
|
}
|
|
}
|