]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - mm/hugetlb_cgroup.c
Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[mirror_ubuntu-artful-kernel.git] / mm / hugetlb_cgroup.c
index 037e1c00a5b7a8550f7e021eaf0af390ad5b625f..6e0057439a469b2cf38e9e9aee1f40a17dd08d59 100644 (file)
@@ -279,7 +279,7 @@ static ssize_t hugetlb_cgroup_write(struct kernfs_open_file *of,
                return -EINVAL;
 
        buf = strstrip(buf);
-       ret = page_counter_memparse(buf, &nr_pages);
+       ret = page_counter_memparse(buf, "-1", &nr_pages);
        if (ret)
                return ret;