]> git.proxmox.com Git - mirror_lxcfs.git/commitdiff
remove obsolete comments
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Tue, 22 Mar 2016 03:50:58 +0000 (20:50 -0700)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Tue, 22 Mar 2016 03:50:58 +0000 (20:50 -0700)
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>
bindings.c

index 7e69bed32cbc780afbca29ff763f52da33399331..cfd5a3d515a8f66e200fcca5fcfdbc6cfda99a07 100644 (file)
@@ -1744,7 +1744,6 @@ int cg_open(const char *path, struct fuse_file_info *fi)
                goto out;
        }
        if (!fc_may_access(fc, controller, path1, path2, fi->flags)) {
-               // should never get here
                ret = -EACCES;
                goto out;
        }
@@ -2215,7 +2214,7 @@ int cg_read(const char *path, char *buf, size_t size, off_t offset,
        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;
        }