Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 229200
b: refs/heads/master
c: 72895b1
h: refs/heads/master
v: v3
  • Loading branch information
Jesper Juhl authored and Trond Myklebust committed Dec 21, 2010
1 parent 57ea717 commit 4e6f898
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 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: c8b031ebc1246d42463c5c69df8f610ca9f48e77
refs/heads/master: 72895b1ac7baeda76835cddb3edb019a90d32bcb
7 changes: 2 additions & 5 deletions trunk/fs/nfs/pagelist.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,9 @@ static struct kmem_cache *nfs_page_cachep;
static inline struct nfs_page *
nfs_page_alloc(void)
{
struct nfs_page *p;
p = kmem_cache_alloc(nfs_page_cachep, GFP_KERNEL);
if (p) {
memset(p, 0, sizeof(*p));
struct nfs_page *p = kmem_cache_zalloc(nfs_page_cachep, GFP_KERNEL);
if (p)
INIT_LIST_HEAD(&p->wb_list);
}
return p;
}

Expand Down

0 comments on commit 4e6f898

Please sign in to comment.