projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
NFS: Kill the obsolete NFS_PARANOIA
[powerpc.git]
/
fs
/
gfs2
/
meta_io.c
diff --git
a/fs/gfs2/meta_io.c
b/fs/gfs2/meta_io.c
index
0e34d99
..
e62d4f6
100644
(file)
--- a/
fs/gfs2/meta_io.c
+++ b/
fs/gfs2/meta_io.c
@@
-282,8
+282,7
@@
void gfs2_attach_bufdata(struct gfs2_glock *gl, struct buffer_head *bh,
return;
}
- bd = kmem_cache_alloc(gfs2_bufdata_cachep, GFP_NOFS | __GFP_NOFAIL),
- memset(bd, 0, sizeof(struct gfs2_bufdata));
+ bd = kmem_cache_zalloc(gfs2_bufdata_cachep, GFP_NOFS | __GFP_NOFAIL),
bd->bd_bh = bh;
bd->bd_gl = gl;