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 36b0772..60702d6 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)