diff options
author | Paul Moore <paul.moore@hp.com> | 2006-11-17 17:38:43 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 00:24:04 -0500 |
commit | 1f758d93548fb3c6297c05a351a4ba532de6a497 (patch) | |
tree | 1f94298ed23a3992191ae88a00283f62ecc880eb /include/net | |
parent | 352d48008b6f3e02d8ce77868432e329dd921cb1 (diff) |
NetLabel: use gfp_t instead of int where it makes sense
There were a few places in the NetLabel code where the int type was being used
instead of the gfp_t type, this patch corrects this mistake.
Signed-off-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/netlabel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/netlabel.h b/include/net/netlabel.h index 12c214b9eadf..ba2f6823805c 100644 --- a/include/net/netlabel.h +++ b/include/net/netlabel.h | |||
@@ -205,7 +205,7 @@ static inline void netlbl_secattr_destroy(struct netlbl_lsm_secattr *secattr) | |||
205 | * pointer on success, or NULL on failure. | 205 | * pointer on success, or NULL on failure. |
206 | * | 206 | * |
207 | */ | 207 | */ |
208 | static inline struct netlbl_lsm_secattr *netlbl_secattr_alloc(int flags) | 208 | static inline struct netlbl_lsm_secattr *netlbl_secattr_alloc(gfp_t flags) |
209 | { | 209 | { |
210 | return kzalloc(sizeof(struct netlbl_lsm_secattr), flags); | 210 | return kzalloc(sizeof(struct netlbl_lsm_secattr), flags); |
211 | } | 211 | } |