This commit is contained in:
Alex Yatskov 2015-05-28 14:39:43 +09:00
parent 57fa972b78
commit ed1c8bc1e6

View File

@ -53,10 +53,6 @@ func newVersionedNodeStat(path string, parent *versionedNode, ver *version, info
return &versionedNode{path, info, parent, nil, ver}
}
// func (this *versionedNode) version() (*versionedNode, error) {
// return nil, nil
// }
func (this *versionedNode) setAttr(req *fuse.SetattrRequest, resp *fuse.SetattrResponse) error {
if req.Valid&fuse.SetattrMode != 0 {
if err := os.Chmod(this.rebasedPath(), req.Mode); err != nil {