net: Export open_related_ns()
authorKirill Tkhai <ktkhai@virtuozzo.com>
Wed, 14 Feb 2018 13:40:05 +0000 (16:40 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Feb 2018 20:34:42 +0000 (15:34 -0500)
This function will be used to obtain net of tun device.

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
fs/nsfs.c

index 36b0772701a0b045dd49a7568edc896e0d3249c6..60702d677bd4e5b11add7dce14e37967a4998355 100644 (file)
--- a/fs/nsfs.c
+++ b/fs/nsfs.c
@@ -184,6 +184,7 @@ int open_related_ns(struct ns_common *ns,
 
        return fd;
 }
+EXPORT_SYMBOL_GPL(open_related_ns);
 
 static long ns_ioctl(struct file *filp, unsigned int ioctl,
                        unsigned long arg)