]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - net/netlabel/netlabel_domainhash.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit...
[mv-sheeva.git] / net / netlabel / netlabel_domainhash.c
index c5d9f97ef21743b5cdf724695edaa8183ea8c561..016ab9c75ebd0890016f9152b754a6cbe3be160c 100644 (file)
@@ -35,6 +35,7 @@
 #include <linux/spinlock.h>
 #include <linux/string.h>
 #include <linux/audit.h>
+#include <linux/slab.h>
 #include <net/netlabel.h>
 #include <net/cipso_ipv4.h>
 #include <asm/bug.h>
@@ -315,7 +316,6 @@ int netlbl_domhsh_add(struct netlbl_dom_map *entry,
                entry_old = netlbl_domhsh_search_def(entry->domain);
        if (entry_old == NULL) {
                entry->valid = 1;
-               INIT_RCU_HEAD(&entry->rcu);
 
                if (entry->domain != NULL) {
                        u32 bkt = netlbl_domhsh_hash(entry->domain);