commit | 36e21687e6e51c4225c42e6291938363f7bbfa7c | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@newdream.net> | Tue Aug 24 16:23:48 2010 -0700 |
committer | Sage Weil <sage@newdream.net> | Tue Aug 24 16:24:19 2010 -0700 |
tree | 15f30bf1e622b564b6663217cf99c75aad03fae3 | |
parent | 7d8cb26d7dcb911f110b7762bd5941e8f009d6c3 [diff] |
ceph: initialize fields on new dentry_infos Signed-off-by: Sage Weil <sage@newdream.net>
diff --git a/fs/ceph/dir.c b/fs/ceph/dir.c index 67bbb41..6e4f43f 100644 --- a/fs/ceph/dir.c +++ b/fs/ceph/dir.c
@@ -46,7 +46,7 @@ else dentry->d_op = &ceph_snap_dentry_ops; - di = kmem_cache_alloc(ceph_dentry_cachep, GFP_NOFS); + di = kmem_cache_alloc(ceph_dentry_cachep, GFP_NOFS | __GFP_ZERO); if (!di) return -ENOMEM; /* oh well */