simplify a bit (#3631)
This commit is contained in:
@@ -143,6 +143,7 @@ func (v *Volume) readNeedleDataInto(n *needle.Needle, readOption *ReadOption, wr
|
|||||||
return ErrorNotFound
|
return ErrorNotFound
|
||||||
}
|
}
|
||||||
actualOffset = nv.Offset.ToActualOffset()
|
actualOffset = nv.Offset.ToActualOffset()
|
||||||
|
readOption.VolumeRevision = v.SuperBlock.CompactionRevision
|
||||||
}
|
}
|
||||||
count, err := n.ReadNeedleData(v.DataBackend, actualOffset, buf, x)
|
count, err := n.ReadNeedleData(v.DataBackend, actualOffset, buf, x)
|
||||||
v.dataFileAccessLock.RUnlock()
|
v.dataFileAccessLock.RUnlock()
|
||||||
|
|||||||
Reference in New Issue
Block a user