diff options
author | Paul Moore <paul.moore@hp.com> | 2006-11-17 23:38:43 +0100 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 06:24:04 +0100 |
commit | 1f758d93548fb3c6297c05a351a4ba532de6a497 (patch) | |
tree | 1f94298ed23a3992191ae88a00283f62ecc880eb /include/net/netlabel.h | |
parent | [TCP]: Tidy up skb_entail (diff) | |
download | linux-1f758d93548fb3c6297c05a351a4ba532de6a497.tar.xz linux-1f758d93548fb3c6297c05a351a4ba532de6a497.zip |
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/netlabel.h')
-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) * pointer on success, or NULL on failure. * */ -static inline struct netlbl_lsm_secattr *netlbl_secattr_alloc(int flags) +static inline struct netlbl_lsm_secattr *netlbl_secattr_alloc(gfp_t flags) { return kzalloc(sizeof(struct netlbl_lsm_secattr), flags); } |