Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
3b00b555
Commit
3b00b555
authored
Oct 21, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
063a03af
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
wcfs/wcfs.go
wcfs/wcfs.go
+1
-2
No files found.
wcfs/wcfs.go
View file @
3b00b555
...
@@ -1550,8 +1550,7 @@ func (f *BigFile) readPinWatchers(ctx context.Context, blk int64, blkrevMax zodb
...
@@ -1550,8 +1550,7 @@ func (f *BigFile) readPinWatchers(ctx context.Context, blk int64, blkrevMax zodb
// and most of them would be on different w.at - cache of the file will
// and most of them would be on different w.at - cache of the file will
// be lost. Via pinning to particular block revision, we make sure the
// be lost. Via pinning to particular block revision, we make sure the
// revision to pin is the same on all clients, and so file cache is shared.
// revision to pin is the same on all clients, and so file cache is shared.
pinrev
,
_
,
err
:=
δFtail
.
BlkRevAt
(
ctx
,
w
.
file
.
zfile
,
blk
,
w
.
at
)
// XXX move into go?
pinrev
,
_
,
err
:=
δFtail
.
BlkRevAt
(
ctx
,
f
.
zfile
,
blk
,
w
.
at
)
// XXX move into go?
// XXX ^^^ w.file vs f ?
if
err
!=
nil
{
if
err
!=
nil
{
return
err
return
err
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment