netns: fix get_net_ns_by_fd(int pid) typo
authorStefan Hajnoczi <stefanha@redhat.com>
Fri, 18 Nov 2016 09:41:46 +0000 (09:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Nov 2016 19:01:58 +0000 (14:01 -0500)
commit0f5258cd91e9d78a1ee30696314bec3c33321a93
tree8ea1d4574b80bf97542a49098519a277f7ec2885
parent87305c4cd261664a12cff16740d0c40065bbd07f
netns: fix get_net_ns_by_fd(int pid) typo

The argument to get_net_ns_by_fd() is a /proc/$PID/ns/net file
descriptor not a pid.  Fix the typo.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Acked-by: Rami Rosen <roszenrami@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/net_namespace.h