i *think* the 'should never get here' was a side effect of using cgmanager
which is no longer valid.
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
goto out;
}
if (!fc_may_access(fc, controller, path1, path2, fi->flags)) {
- // should never get here
ret = -EACCES;
goto out;
}
free_key(k);
- if (!fc_may_access(fc, f->controller, f->cgroup, f->file, O_RDONLY)) { // should never get here
+ if (!fc_may_access(fc, f->controller, f->cgroup, f->file, O_RDONLY)) {
ret = -EACCES;
goto out;
}