[Devel] [PATCH RHEL7 COMMIT] ms/xfs: lost hunk from "ms/list_lru: add helpers to isolate items" part 2

Konstantin Khorenko khorenko at virtuozzo.com
Thu Feb 2 07:40:59 PST 2017


The commit is pushed to "branch-rh7-3.10.0-514.6.1.vz7.28.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-514.6.1.vz7.28.3
------>
commit 441cbec24e0c896e7fb4408e0a5fc85915396c1c
Author: Dmitry Monakhov <dmonakhov at openvz.org>
Date:   Thu Feb 2 19:40:59 2017 +0400

    ms/xfs: lost hunk from "ms/list_lru: add helpers to isolate items" part 2
    
    Add lost hunks from original 2fe9a3f ("ms/list_lru: add helpers to isolate items")
    (original ms commit: 3f97b163207c67a3b35931494ad3db1de66356f0)
    
    https://jira.sw.ru/browse/PSBM-58492
    
    Signed-off-by: Dmitry Monakhov <dmonakhov at openvz.org>
---
 fs/xfs/xfs_buf.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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;
 }


More information about the Devel mailing list