mount: update internal position on seek - fixes #774

This commit is contained in:
Nick Craig-Wood 2016-10-17 20:20:07 +01:00
parent 4803ce010e
commit d8d11023d3

View File

@ -52,6 +52,7 @@ func (fh *ReadFileHandle) seek(offset int64) error {
fs.Debug(fh.o, "ReadFileHandle.Read seek close old failed: %v", err)
}
fh.r = r
fh.offset = offset
return nil
}