[PATCH] sunrpc: cache_register can use wrong module reference
[safe/jmp/linux-2.6] / net / sunrpc / svcauth_unix.c
index d6baf6f..cac2e77 100644 (file)
@@ -242,6 +242,7 @@ static int ip_map_show(struct seq_file *m,
        
 
 struct cache_detail ip_map_cache = {
+       .owner          = THIS_MODULE,
        .hash_size      = IP_HASHMAX,
        .hash_table     = ip_table,
        .name           = "auth.unix.ip",