aboutsummaryrefslogtreecommitdiff
path: root/include/net/netlabel.h
diff options
context:
space:
mode:
authorPaul Moore <paul.moore@hp.com>2006-11-17 17:38:43 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-02 21:24:04 -0800
commit1f758d93548fb3c6297c05a351a4ba532de6a497 (patch)
tree1f94298ed23a3992191ae88a00283f62ecc880eb /include/net/netlabel.h
parent352d48008b6f3e02d8ce77868432e329dd921cb1 (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/netlabel.h')
-rw-r--r--include/net/netlabel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/netlabel.h b/include/net/netlabel.h
index 12c214b9ead..ba2f6823805 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);
}