projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'net_sched-next'
[linux-2.6-microblaze.git]
/
fs
/
ramfs
/
file-nommu.c
diff --git
a/fs/ramfs/file-nommu.c
b/fs/ramfs/file-nommu.c
index
dda012a
..
bbafbde
100644
(file)
--- a/
fs/ramfs/file-nommu.c
+++ b/
fs/ramfs/file-nommu.c
@@
-222,7
+222,7
@@
static unsigned long ramfs_nommu_get_unmapped_area(struct file *file,
/* gang-find the pages */
ret = -ENOMEM;
- pages = k
zalloc(lpages *
sizeof(struct page *), GFP_KERNEL);
+ pages = k
calloc(lpages,
sizeof(struct page *), GFP_KERNEL);
if (!pages)
goto out_free;