Upgrade to 4.4.50-rt62
[kvmfornfv.git] / kernel / kernel / sysctl_binary.c
index 7e7746a..10a1d7d 100644 (file)
@@ -1321,7 +1321,7 @@ static ssize_t binary_sysctl(const int *name, int nlen,
        }
 
        mnt = task_active_pid_ns(current)->proc_mnt;
-       file = file_open_root(mnt->mnt_root, mnt, pathname, flags);
+       file = file_open_root(mnt->mnt_root, mnt, pathname, flags, 0);
        result = PTR_ERR(file);
        if (IS_ERR(file))
                goto out_putname;