diff options
Diffstat (limited to 'fs/ocfs2/localalloc.c')
-rw-r--r-- | fs/ocfs2/localalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/localalloc.c b/fs/ocfs2/localalloc.c index 698d79a74ef8..4dedd9789108 100644 --- a/fs/ocfs2/localalloc.c +++ b/fs/ocfs2/localalloc.c | |||
@@ -776,7 +776,7 @@ static int ocfs2_local_alloc_reserve_for_window(struct ocfs2_super *osb, | |||
776 | { | 776 | { |
777 | int status; | 777 | int status; |
778 | 778 | ||
779 | *ac = kcalloc(1, sizeof(struct ocfs2_alloc_context), GFP_KERNEL); | 779 | *ac = kzalloc(sizeof(struct ocfs2_alloc_context), GFP_KERNEL); |
780 | if (!(*ac)) { | 780 | if (!(*ac)) { |
781 | status = -ENOMEM; | 781 | status = -ENOMEM; |
782 | mlog_errno(status); | 782 | mlog_errno(status); |