From: Johannes Berg Date: Fri, 10 Jul 2009 09:51:35 +0000 (+0000) Subject: net: move and export get_net_ns_by_pid X-Git-Tag: v2.6.32-rc1~703^2~636 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30ffee8480c13fbcf8ab6c28e31f79dfff683117;p=pandora-kernel.git net: move and export get_net_ns_by_pid The function get_net_ns_by_pid(), to get a network namespace from a pid_t, will be required in cfg80211 as well. Therefore, let's move it to net_namespace.c and export it. We can't make it a static inline in the !NETNS case because it needs to verify that the given pid even exists (and return -ESRCH). Signed-off-by: Johannes Berg Signed-off-by: David S. Miller --- Reading git-diff-tree failed