Commit d0207be4 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 494b4715
......@@ -1158,7 +1158,7 @@ func (f *BigFile) updateWatchers(ctx context.Context, blk int64, treepath []btre
// update δbtree index
bfdir := f.head.bfdir
bfdir.δFmu.Lock() // XXX locking correct?
bfdir.δFtail.Track(f, treepath)
bfdir.δFtail.Track(f, treepath) // XXX pass in zblk.oid / zblk.rev here?
bfdir.δFmu.Unlock()
blkrev, _ := f.LastBlkRev(blk, f.head.zconn.At())
......
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