|
@@ -411,7 +411,7 @@ static struct dir_private_info *ext4_htree_create_dir_info(struct file *filp,
|
|
|
{
|
|
{
|
|
|
struct dir_private_info *p;
|
|
struct dir_private_info *p;
|
|
|
|
|
|
|
|
- p = kzalloc(sizeof(struct dir_private_info), GFP_KERNEL);
|
|
|
|
|
|
|
+ p = kzalloc(sizeof(*p), GFP_KERNEL);
|
|
|
if (!p)
|
|
if (!p)
|
|
|
return NULL;
|
|
return NULL;
|
|
|
p->curr_hash = pos2maj_hash(filp, pos);
|
|
p->curr_hash = pos2maj_hash(filp, pos);
|