mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
fix build - *copy_net_ns
This commit is contained in:
parent
52264c7eed
commit
53a9ee5f14
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue