Skip to content

Commit

Permalink
net: Export open_related_ns()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kirill Tkhai authored and David S. Miller committed Feb 15, 2018
1 parent d8d211a commit 24dce08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/nsfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 24dce08

Please sign in to comment.