ext4: use EINVAL if not a regular file in ext4_collapse_range()
[pandora-kernel.git] / mm / hugetlb_cgroup.c
index b135853..595d7fd 100644 (file)
@@ -254,7 +254,7 @@ static u64 hugetlb_cgroup_read_u64(struct cgroup_subsys_state *css,
 }
 
 static int hugetlb_cgroup_write(struct cgroup_subsys_state *css,
-                               struct cftype *cft, const char *buffer)
+                               struct cftype *cft, char *buffer)
 {
        int idx, name, ret;
        unsigned long long val;