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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Joshua
wendelin.core
Commits
36cdebc4
Commit
36cdebc4
authored
Oct 29, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
d61e9df9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
wcfs/internal/wcfs_virtmem.cpp
wcfs/internal/wcfs_virtmem.cpp
+4
-3
No files found.
wcfs/internal/wcfs_virtmem.cpp
View file @
36cdebc4
...
...
@@ -663,8 +663,10 @@ tuple</*rxq*/chan<rxPkt>, error> WatchLink::_sendReq(IContext *ctx, const string
}
// recvReq receives client <- server request.
static
error
_parsePinReq
(
PinReq
*
pin
,
const
rxPkt
*
pkt
);
error
WatchLink
::
recvReq
(
IContext
*
ctx
,
PinReq
*
prx
)
{
WatchLink
&
wlink
=
*
this
;
// XXX err ctx?
rxPkt
pkt
;
int
_
=
select
({
...
...
@@ -681,12 +683,11 @@ error WatchLink::recvReq(IContext *ctx, PinReq *prx) {
#endif
pkt
.
to_string
();
err
=
_parsePinReq
(
prx
,
&
pkt
);
return
err
;
return
_parsePinReq
(
prx
,
&
pkt
);
}
// _parsePinReq parses message into PinReq according to wcfs invalidation protocol.
error
_parsePinReq
(
PinReq
*
pin
,
const
rxPkt
*
pkt
)
{
static
error
_parsePinReq
(
PinReq
*
pin
,
const
rxPkt
*
pkt
)
{
// XXX err ctx "bad pin"
pin
->
stream
=
pkt
->
stream
;
...
...
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