mirror of https://github.com/perkeep/perkeep.git
fs: typo. return read-only file by looking at req flags, not res flags.
Change-Id: I2093f381b99c6ef55a20b88e0bcaade97a3529c7
This commit is contained in:
parent
98eb69b5e1
commit
33bbd23e32
|
@ -368,7 +368,7 @@ func (n *mutFile) Open(req *fuse.OpenRequest, res *fuse.OpenResponse, intr fuse.
|
|||
}
|
||||
|
||||
// Read-only.
|
||||
if res.Flags == 0 {
|
||||
if req.Flags == 0 {
|
||||
log.Printf("mutFile.Open returning read-only file")
|
||||
n := &node{
|
||||
fs: n.fs,
|
||||
|
|
Loading…
Reference in New Issue