projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
staging: lustre: llite: Use kcalloc not kzalloc with mult
[linux-2.6-block.git]
/
drivers
/
staging
/
lustre
/
lustre
/
llite
/
dir.c
diff --git
a/drivers/staging/lustre/lustre/llite/dir.c
b/drivers/staging/lustre/lustre/llite/dir.c
index 9e8bfdcfe5a4a43d40c17c9c03b0dc4a672236b3..a07e0fe062077edef59c02aa3e0f110ad8ccc5d2 100644
(file)
--- a/
drivers/staging/lustre/lustre/llite/dir.c
+++ b/
drivers/staging/lustre/lustre/llite/dir.c
@@
-163,7
+163,7
@@
static int ll_dir_filler(void *_hash, struct page *page0)
LASSERT(max_pages > 0 && max_pages <= MD_MAX_BRW_PAGES);
- page_pool = k
zalloc(sizeof(page) * max_pages
, GFP_NOFS);
+ page_pool = k
calloc(max_pages, sizeof(page)
, GFP_NOFS);
if (page_pool) {
page_pool[0] = page0;
} else {