X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=fs%2Fnamespace.c;h=e6c234b1a6456c1364bcc06b029f3cc4a155d5bd;hb=10e15a639caac3be3c142f8837a17520da84db9f;hp=db1b5a38864e98aa512be772765e00b13ec6c25d;hpb=021723e6c5a5e7b50eb68f9812418406de9860b2;p=cascardo%2Flinux.git diff --git a/fs/namespace.c b/fs/namespace.c index db1b5a38864e..e6c234b1a645 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -2743,7 +2743,7 @@ long do_mount(const char *dev_name, const char __user *dir_name, flags &= ~(MS_NOSUID | MS_NOEXEC | MS_NODEV | MS_ACTIVE | MS_BORN | MS_NOATIME | MS_NODIRATIME | MS_RELATIME| MS_KERNMOUNT | - MS_STRICTATIME); + MS_STRICTATIME | MS_NOREMOTELOCK); if (flags & MS_REMOUNT) retval = do_remount(&path, flags & ~MS_REMOUNT, mnt_flags, @@ -2824,6 +2824,7 @@ static struct mnt_namespace *alloc_mnt_ns(struct user_namespace *user_ns) return new_ns; } +__latent_entropy struct mnt_namespace *copy_mnt_ns(unsigned long flags, struct mnt_namespace *ns, struct user_namespace *user_ns, struct fs_struct *new_fs) {