Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 331639
b: refs/heads/master
c: cc4829e
h: refs/heads/master
i:
  331637: ce46195
  331635: c759b3c
  331631: 1708694
v: v3
  • Loading branch information
Wei Yongjun authored and Alex Elder committed Oct 1, 2012
1 parent 3814cf2 commit afe8ab0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: 523f32582f30768ab4e56b71b276fc1ea71f48cc
refs/heads/master: cc4829e5967de577794b25dfcd1a65e509d171ed
5 changes: 2 additions & 3 deletions trunk/net/ceph/pagelist.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

#include <linux/module.h>
#include <linux/gfp.h>
#include <linux/pagemap.h>
Expand Down Expand Up @@ -134,8 +133,8 @@ int ceph_pagelist_truncate(struct ceph_pagelist *pl,
ceph_pagelist_unmap_tail(pl);
while (pl->head.prev != c->page_lru) {
page = list_entry(pl->head.prev, struct page, lru);
list_del(&page->lru); /* remove from pagelist */
list_add_tail(&page->lru, &pl->free_list); /* add to reserve */
/* move from pagelist to reserve */
list_move_tail(&page->lru, &pl->free_list);
++pl->num_pages_free;
}
pl->room = c->room;
Expand Down

0 comments on commit afe8ab0

Please sign in to comment.