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-02 21:24:04 -0800 |
commit | 1f758d93548fb3c6297c05a351a4ba532de6a497 (patch) | |
tree | 1f94298ed23a3992191ae88a00283f62ecc880eb /include | |
parent | 352d48008b6f3e02d8ce77868432e329dd921cb1 (diff) | |
download | op-kernel-dev-1f758d93548fb3c6297c05a351a4ba532de6a497.zip op-kernel-dev-1f758d93548fb3c6297c05a351a4ba532de6a497.tar.gz |
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')
-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 12c214b..ba2f682 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); } |