mmc: sdhci: fix "pwr may be used uninitialized" warning
[deliverable/linux.git] / block / blk-cgroup.c
index 0f59b23096db628c23fe111f867e0fe55cda9e8c..b1febd0f6d2a5227f617d82c7d4687e190cfc456 100644 (file)
@@ -1454,7 +1454,7 @@ blkiocg_create(struct cgroup_subsys *subsys, struct cgroup *cgroup)
 
        /* Currently we do not support hierarchy deeper than two level (0,1) */
        if (parent != cgroup->top_cgroup)
-               return ERR_PTR(-EINVAL);
+               return ERR_PTR(-EPERM);
 
        blkcg = kzalloc(sizeof(*blkcg), GFP_KERNEL);
        if (!blkcg)
This page took 0.028728 seconds and 5 git commands to generate.