Commit e775066c authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Revert ReadOnlyFile use in UnionFs: UnionFs users can set this if

needed.
parent 1cc8b3a4
...@@ -917,9 +917,6 @@ func (me *UnionFs) Open(name string, flags uint32, context *fuse.Context) (fuseF ...@@ -917,9 +917,6 @@ func (me *UnionFs) Open(name string, flags uint32, context *fuse.Context) (fuseF
if fuseFile != nil { if fuseFile != nil {
fuseFile = &UnionFsFile{fuseFile, r.branch} fuseFile = &UnionFsFile{fuseFile, r.branch}
} }
if r.branch > 0 && fuseFile != nil {
fuseFile = &fuse.ReadOnlyFile{fuseFile}
}
return fuseFile, status return fuseFile, status
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment