summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Moore <paul.moore@hp.com>2006-11-17 22:38:43 (GMT)
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-03 05:24:04 (GMT)
commit1f758d93548fb3c6297c05a351a4ba532de6a497 (patch)
tree1f94298ed23a3992191ae88a00283f62ecc880eb
parent352d48008b6f3e02d8ce77868432e329dd921cb1 (diff)
downloadlinux-1f758d93548fb3c6297c05a351a4ba532de6a497.tar.xz
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>
-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 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);
}