Commit 8c439061 authored by Kirill Smelkov's avatar Kirill Smelkov

Merge branch 'master' into y/nodefs-cancel

* master:
  pollHack: handle GETATTR
parents c246ae51 0b6cbc51
...@@ -28,6 +28,10 @@ func doPollHackLookup(ms *Server, req *request) { ...@@ -28,6 +28,10 @@ func doPollHackLookup(ms *Server, req *request) {
Fh: pollHackInode, Fh: pollHackInode,
} }
req.status = OK req.status = OK
case _OP_GETATTR:
out := (*AttrOut)(req.outData())
out.Attr = attr
req.status = OK
case _OP_POLL: case _OP_POLL:
req.status = ENOSYS req.status = ENOSYS
default: default:
......
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