summaryrefslogtreecommitdiff
path: root/fs/nsfs.c
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-02-14 16:40:05 +0300
committerDavid S. Miller <davem@davemloft.net>2018-02-15 15:34:42 -0500
commit24dce0800baaa508b1a8ccf01ae0a9c8e600a5aa (patch)
tree96ea34a77b553f608aec10843ec426fb7fa6e9d0 /fs/nsfs.c
parentd8d211a2a0c37755a8660dc69f97b7c70bf210b1 (diff)
net: Export open_related_ns()
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>
Diffstat (limited to 'fs/nsfs.c')
-rw-r--r--fs/nsfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nsfs.c b/fs/nsfs.c
index 36b0772701a0..60702d677bd4 100644
--- 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)