Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268768
b: refs/heads/master
c: 8550be0
h: refs/heads/master
v: v3
  • Loading branch information
Seth Jennings authored and Greg Kroah-Hartman committed Oct 11, 2011
1 parent 78f0e70 commit bea5b6a
Show file tree
Hide file tree
Showing 2 changed files with 9 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: 5ba321cf175192259ea0b3cc2322986cf1194fee
refs/heads/master: 8550be08cbed164a8357491cc2c27cb99282b7ff
10 changes: 8 additions & 2 deletions trunk/drivers/staging/zcache/zcache-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1357,8 +1357,14 @@ static int zcache_cpu_notifier(struct notifier_block *nb,
kp->objnodes[kp->nr - 1] = NULL;
kp->nr--;
}
kmem_cache_free(zcache_obj_cache, kp->obj);
free_page((unsigned long)kp->page);
if (kp->obj) {
kmem_cache_free(zcache_obj_cache, kp->obj);
kp->obj = NULL;
}
if (kp->page) {
free_page((unsigned long)kp->page);
kp->page = NULL;
}
break;
default:
break;
Expand Down

0 comments on commit bea5b6a

Please sign in to comment.