From b7e65c305fbc1b35e0ffb036e31ae965765b9b80 Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Tue, 10 Feb 2004 11:39:10 +1100 Subject: [PATCH] [XFS] Use list_move for moving pagebufs between lists, not list_add/list_del SGI Modid: xfs-linux:xfs-kern:166046a --- fs/xfs/linux/xfs_buf.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/fs/xfs/linux/xfs_buf.c b/fs/xfs/linux/xfs_buf.c index e988ee296ea2d..5c9a41c309d3c 100644 --- a/fs/xfs/linux/xfs_buf.c +++ b/fs/xfs/linux/xfs_buf.c @@ -1741,10 +1741,7 @@ pagebuf_daemon( pb->pb_flags &= ~PBF_DELWRI; pb->pb_flags |= PBF_WRITE; - - list_del(&pb->pb_list); - list_add(&pb->pb_list, &tmp); - + list_move(&pb->pb_list, &tmp); count++; } } -- 2.53.0