diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-04 14:21:08 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-05-04 14:21:08 -0700 |
commit | 8a3d8ed027b563d2875cd3df816fb4a888a8551e (patch) | |
tree | 61b5174933a53e7ec6246369c558fcb60e7967d8 /include | |
parent | 30106b8ce2cc2243514116d6f29086e6deecc754 (diff) | |
parent | 6f239284542bae297d27355d06afbb8df23c5db9 (diff) | |
download | linux-8a3d8ed027b563d2875cd3df816fb4a888a8551e.tar.gz linux-8a3d8ed027b563d2875cd3df816fb4a888a8551e.tar.bz2 linux-8a3d8ed027b563d2875cd3df816fb4a888a8551e.zip |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6:
flex_arrays: allow zero length flex arrays
flex_array: flex_array_prealloc takes a number of elements, not an end
SELinux: pass last path component in may_create
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, |