[Devel] ms/xfs: rework buffer dispose list tracking B

Submitted by Dmitry Monakhov on Jan. 27, 2017, 4:06 p.m.

Details

Message ID 1485533168-11701-1-git-send-email-dmonakhov@openvz.org
State New
Series "ms/xfs: rework buffer dispose list tracking B"
Headers show

Commit Message

Dmitry Monakhov Jan. 27, 2017, 4:06 p.m.
Add lost hunks from original a408235726

https://jira.sw.ru/browse/PSBM-58492
Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
---
 fs/xfs/xfs_buf.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch hide | download patch | download mbox

diff --git a/fs/xfs/xfs_buf.c b/fs/xfs/xfs_buf.c
index 8d8c9ce..47a6cb0 100644
--- a/fs/xfs/xfs_buf.c
+++ b/fs/xfs/xfs_buf.c
@@ -1585,7 +1585,7 @@  xfs_buftarg_wait_rele(
 	 */
 	atomic_set(&bp->b_lru_ref, 0);
 	bp->b_state |= XFS_BSTATE_DISPOSE;
-	list_move(item, dispose);
+	list_lru_isolate_move(lru, item, dispose);
 	spin_unlock(&bp->b_lock);
 	return LRU_REMOVED;
 }
@@ -1646,7 +1646,7 @@  xfs_buftarg_isolate(
 	}
 
 	bp->b_state |= XFS_BSTATE_DISPOSE;
-	list_move(item, dispose);
+	list_lru_isolate_move(lru, item, dispose);
 	spin_unlock(&bp->b_lock);
 	return LRU_REMOVED;
 }