NFS: Revalidate the file size on a fatal write error
[platform/kernel/linux-rpi.git] / mm / hugetlb_cgroup.c
index f1930fa..2ac38bd 100644 (file)
@@ -196,7 +196,7 @@ int hugetlb_cgroup_charge_cgroup(int idx, unsigned long nr_pages,
 again:
        rcu_read_lock();
        h_cg = hugetlb_cgroup_from_task(current);
-       if (!css_tryget_online(&h_cg->css)) {
+       if (!css_tryget(&h_cg->css)) {
                rcu_read_unlock();
                goto again;
        }