From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kirill Tkhai Subject: [PATCH net-next v2 2/3] net: Export open_related_ns() Date: Wed, 14 Feb 2018 16:40:05 +0300 Message-ID: <151861560562.9376.3584890130633439018.stgit@localhost.localdomain> References: <151861548493.9376.6162694167471967.stgit@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: davem@davemloft.net, jasowang@redhat.com, edumazet@google.com, xiyou.wangcong@gmail.com, willemb@google.com, peterpenkov96@gmail.com, linyu.yuan@alcatel-sbell.com.cn, kstewart@linuxfoundation.org, aviadye@mellanox.com, gregkh@linuxfoundation.org, ktkhai@virtuozzo.com, davejwatson@fb.com, netdev@vger.kernel.org Return-path: Received: from mail-eopbgr50131.outbound.protection.outlook.com ([40.107.5.131]:52463 "EHLO EUR03-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1030202AbeBNNkO (ORCPT ); Wed, 14 Feb 2018 08:40:14 -0500 In-Reply-To: <151861548493.9376.6162694167471967.stgit@localhost.localdomain> Sender: netdev-owner@vger.kernel.org List-ID: This function will be used to obtain net of tun device. Signed-off-by: Kirill Tkhai --- fs/nsfs.c | 1 + 1 file changed, 1 insertion(+) 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)