fix build - *copy_net_ns

This commit is contained in:
followmsi 2017-08-29 17:26:28 +02:00
parent 52264c7eed
commit 53a9ee5f14
1 changed files with 2 additions and 1 deletions

View File

@ -351,7 +351,8 @@ struct net *get_net_ns_by_fd(int fd)
}
#else
struct net *copy_net_ns(unsigned long flags, struct net *old_net)
struct net *copy_net_ns(unsigned long flags,
struct user_namespace *user_ns, struct net *old_net)
{
if (flags & CLONE_NEWNET)
return ERR_PTR(-EINVAL);