Commit b7e65c30 authored by Nathan Scott's avatar Nathan Scott

[XFS] Use list_move for moving pagebufs between lists, not list_add/list_del

SGI Modid: xfs-linux:xfs-kern:166046a
parent 4a857b0e
...@@ -1741,10 +1741,7 @@ pagebuf_daemon( ...@@ -1741,10 +1741,7 @@ pagebuf_daemon(
pb->pb_flags &= ~PBF_DELWRI; pb->pb_flags &= ~PBF_DELWRI;
pb->pb_flags |= PBF_WRITE; pb->pb_flags |= PBF_WRITE;
list_move(&pb->pb_list, &tmp);
list_del(&pb->pb_list);
list_add(&pb->pb_list, &tmp);
count++; count++;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment