summaryrefslogtreecommitdiff
path: root/fs/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/buffer.c')
-rw-r--r--fs/buffer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/buffer.c b/fs/buffer.c
index c1379af3f9..db30b30596 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);
}