summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@sgi.com>2003-02-19 20:30:54 +0100
committerChristoph Hellwig <hch@lab343.munich.sgi.com>2003-02-19 20:30:54 +0100
commit8af79dc19d34d82b78dec192da34153b4c95c2ab (patch)
tree2ad2b6d11307538582697c432d68eee82b8b465b
parentc300156f3eccff788ec44ae88b4ac19f9ba9ac9d (diff)
[XFS] insert dirty buffers at the tail of the inode queue
SGI Modid: 2.5.x-xfs:slinx:139992a
-rw-r--r--fs/buffer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/buffer.c b/fs/buffer.c
index c1379af3f965..db30b305962a 100644
--- a/fs/buffer.c
+++ b/fs/buffer.c
@@ -659,8 +659,7 @@ void buffer_insert_list(spinlock_t *lock,
struct buffer_head *bh, struct list_head *list)
{
spin_lock(lock);
- list_del(&bh->b_assoc_buffers);
- list_add(&bh->b_assoc_buffers, list);
+ list_move_tail(&bh->b_assoc_buffers, list);
spin_unlock(lock);
}