Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 334147
b: refs/heads/master
c: 54499af
h: refs/heads/master
i:
  334145: f6109e8
  334143: 8d38088
v: v3
  • Loading branch information
Wei Yongjun authored and Alasdair G Kergon committed Oct 12, 2012
1 parent 7a3b390 commit d5de7b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a71a261f5c39685698f7f1970dc7046b36e132d1
refs/heads/master: 54499afbb80e44ae5511984486b4b33d6229fceb
3 changes: 1 addition & 2 deletions trunk/drivers/md/dm-bufio.c
Original file line number Diff line number Diff line change
Expand Up @@ -441,8 +441,7 @@ static void __relink_lru(struct dm_buffer *b, int dirty)
c->n_buffers[b->list_mode]--;
c->n_buffers[dirty]++;
b->list_mode = dirty;
list_del(&b->lru_list);
list_add(&b->lru_list, &c->lru[dirty]);
list_move(&b->lru_list, &c->lru[dirty]);
}

/*----------------------------------------------------------------
Expand Down

0 comments on commit d5de7b0

Please sign in to comment.