diff options
author | Jens Axboe <jaxboe@fusionio.com> | 2010-11-16 04:10:12 -0500 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2010-11-16 04:10:12 -0500 |
commit | 5fbf85639287b6ea287f4f5e5e7e36608f0f60bd (patch) | |
tree | 608a51e6ee572dba94b43f1933e49ab88562e4c0 /block | |
parent | a02056349cdea2252cd2b21643ebf025e83a29f2 (diff) | |
parent | bdc85df7a8417b9893443ff5520804699416b6f3 (diff) |
Merge branch 'for-2.6.38/rc2-holder' into for-2.6.38/core
Diffstat (limited to 'block')
-rw-r--r-- | block/blk-cgroup.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/block/blk-cgroup.c b/block/blk-cgroup.c index b1febd0f6d2a..455768a3eb9e 100644 --- a/block/blk-cgroup.c +++ b/block/blk-cgroup.c | |||
@@ -1452,10 +1452,6 @@ blkiocg_create(struct cgroup_subsys *subsys, struct cgroup *cgroup) | |||
1452 | goto done; | 1452 | goto done; |
1453 | } | 1453 | } |
1454 | 1454 | ||
1455 | /* Currently we do not support hierarchy deeper than two level (0,1) */ | ||
1456 | if (parent != cgroup->top_cgroup) | ||
1457 | return ERR_PTR(-EPERM); | ||
1458 | |||
1459 | blkcg = kzalloc(sizeof(*blkcg), GFP_KERNEL); | 1455 | blkcg = kzalloc(sizeof(*blkcg), GFP_KERNEL); |
1460 | if (!blkcg) | 1456 | if (!blkcg) |
1461 | return ERR_PTR(-ENOMEM); | 1457 | return ERR_PTR(-ENOMEM); |