git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
security
/
selinux
/
ss
/
avtab.c
diff --git
a/security/selinux/ss/avtab.c
b/security/selinux/ss/avtab.c
index
d049c7a
..
ebb993c
100644
(file)
--- a/
security/selinux/ss/avtab.c
+++ b/
security/selinux/ss/avtab.c
@@
-28,7
+28,7
@@
(keyp->source_type << 9)) & \
AVTAB_HASH_MASK)
(keyp->source_type << 9)) & \
AVTAB_HASH_MASK)
-static
kmem_cache_t
*avtab_node_cachep;
+static
struct kmem_cache
*avtab_node_cachep;
static struct avtab_node*
avtab_insert_node(struct avtab *h, int hvalue,
static struct avtab_node*
avtab_insert_node(struct avtab *h, int hvalue,
@@
-36,7
+36,7
@@
avtab_insert_node(struct avtab *h, int hvalue,
struct avtab_key *key, struct avtab_datum *datum)
{
struct avtab_node * newnode;
struct avtab_key *key, struct avtab_datum *datum)
{
struct avtab_node * newnode;
- newnode = kmem_cache_alloc(avtab_node_cachep,
SLAB
_KERNEL);
+ newnode = kmem_cache_alloc(avtab_node_cachep,
GFP
_KERNEL);
if (newnode == NULL)
return NULL;
memset(newnode, 0, sizeof(struct avtab_node));
if (newnode == NULL)
return NULL;
memset(newnode, 0, sizeof(struct avtab_node));