summaryrefslogtreecommitdiff
path: root/fs/dlm/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/dlm/dir.c')
-rw-r--r--fs/dlm/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dlm/dir.c b/fs/dlm/dir.c
index 01c292379f5b..aa08e8f446a1 100644
--- a/fs/dlm/dir.c
+++ b/fs/dlm/dir.c
@@ -276,7 +276,7 @@ static struct dlm_dir_dump *init_dir_dump(struct dlm_ls *ls, int nodeid)
drop_dir_ctx(ls, nodeid);
}
- dd = kzalloc(sizeof(*dd), GFP_ATOMIC);
+ dd = kzalloc_obj(*dd, GFP_ATOMIC);
if (!dd)
return NULL;