diff options
author | James Morris <jmorris@namei.org> | 2011-05-04 03:59:34 +0200 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2011-05-04 03:59:34 +0200 |
commit | 6f239284542bae297d27355d06afbb8df23c5db9 (patch) | |
tree | b0ba42fb54cd05178c61584e0913be38a57f0384 /include | |
parent | Merge branch 'stable/bug-fixes-for-rc5' of git://git.kernel.org/pub/scm/linux... (diff) | |
parent | flex_arrays: allow zero length flex arrays (diff) | |
download | linux-6f239284542bae297d27355d06afbb8df23c5db9.tar.xz linux-6f239284542bae297d27355d06afbb8df23c5db9.zip |
Merge branch 'for-linus' of git://git.infradead.org/users/eparis/selinux into for-linus
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/flex_array.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/flex_array.h b/include/linux/flex_array.h index 70e4efabe0fb..ebeb2f3ad068 100644 --- a/include/linux/flex_array.h +++ b/include/linux/flex_array.h @@ -61,7 +61,7 @@ struct flex_array { struct flex_array *flex_array_alloc(int element_size, unsigned int total, gfp_t flags); int flex_array_prealloc(struct flex_array *fa, unsigned int start, - unsigned int end, gfp_t flags); + unsigned int nr_elements, gfp_t flags); void flex_array_free(struct flex_array *fa); void flex_array_free_parts(struct flex_array *fa); int flex_array_put(struct flex_array *fa, unsigned int element_nr, void *src, |