Actually, this doesn't even compile.. the entry in ->namespaces is dev_link, not entry. If you resend please also fix the line > 80 chars, preferably by adding a new helper that returns the new max_nsid value.