]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/ocfs2/alloc.c
[PATCH] x86_64: remove unusued 'flags' variable
[linux-2.6-omap-h63xx.git] / fs / ocfs2 / alloc.c
index edc91ca3792ac2b331a33540ec8d5a8250f24566..f27e5378caf249ecccca6676a8fb2e8beda2be63 100644 (file)
@@ -1959,7 +1959,7 @@ int ocfs2_prepare_truncate(struct ocfs2_super *osb,
                goto bail;
        }
 
-       *tc = kcalloc(1, sizeof(struct ocfs2_truncate_context), GFP_KERNEL);
+       *tc = kzalloc(sizeof(struct ocfs2_truncate_context), GFP_KERNEL);
        if (!(*tc)) {
                status = -ENOMEM;
                mlog_errno(status);