X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=kernel%2Fpid_namespace.c;h=5ca37fa50beb5b4d66b79e9c596943c80d363dfc;hb=b7269dfc826fbf554c9e6a9eaa4e6ff95fa08656;hp=6d792b66d854ff3536e30a1114e35a703be59695;hpb=3668805a544a6229d6135a4427b8dfe7c343b61f;p=linux-2.6 diff --git a/kernel/pid_namespace.c b/kernel/pid_namespace.c index 6d792b66d8..5ca37fa50b 100644 --- a/kernel/pid_namespace.c +++ b/kernel/pid_namespace.c @@ -92,7 +92,7 @@ static struct pid_namespace *create_pid_namespace(int level) atomic_set(&ns->pidmap[0].nr_free, BITS_PER_PAGE - 1); for (i = 1; i < PIDMAP_ENTRIES; i++) { - ns->pidmap[i].page = 0; + ns->pidmap[i].page = NULL; atomic_set(&ns->pidmap[i].nr_free, BITS_PER_PAGE); }