summaryrefslogtreecommitdiffstats
path: root/fs/nsfs.c
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-02-14 14:40:05 +0100
committerDavid S. Miller <davem@davemloft.net>2018-02-15 21:34:42 +0100
commit24dce0800baaa508b1a8ccf01ae0a9c8e600a5aa (patch)
tree96ea34a77b553f608aec10843ec426fb7fa6e9d0 /fs/nsfs.c
parentnet: Make extern and export get_net_ns() (diff)
downloadlinux-24dce0800baaa508b1a8ccf01ae0a9c8e600a5aa.tar.xz
linux-24dce0800baaa508b1a8ccf01ae0a9c8e600a5aa.zip
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)