[Devel] [PATCH RH7 28/32] net: Export open_related_ns()
Pavel Tikhomirov
ptikhomirov at virtuozzo.com
Mon Jun 8 20:05:58 MSK 2020
From: Kirill Tkhai <ktkhai at virtuozzo.com>
This function will be used to obtain net of tun device.
Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
Signed-off-by: David S. Miller <davem at davemloft.net>
(cherry picked from commit 24dce0800baaa508b1a8ccf01ae0a9c8e600a5aa)
https://jira.sw.ru/browse/PSBM-102357
Signed-off-by: Pavel Tikhomirov <ptikhomirov at virtuozzo.com>
---
fs/nsfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/nsfs.c b/fs/nsfs.c
index 4d12343b3d0a..e7c42a9daa62 100644
--- a/fs/nsfs.c
+++ b/fs/nsfs.c
@@ -168,6 +168,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)
--
2.24.1
More information about the Devel
mailing list