Skip to content

Commit

Permalink
py9p: do not clunk authfs fids (koska there is no "open")
Browse files Browse the repository at this point in the history
maybe it is better to open it previously, but it should be investigated
  • Loading branch information
svinota committed Dec 4, 2012
1 parent 3cb6d2a commit c5f7e81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py9p/py9p.py
Original file line number Diff line number Diff line change
Expand Up @@ -1044,7 +1044,7 @@ def tclunk(self, req):
req.fid = req.sock.getfid(req.ifcall.fid)
if not req.fid:
return self.respond(req, Eunknownfid)
if hasattr(self.fs, 'clunk'):
if hasattr(self.fs, 'clunk') and not (req.fid.qid.type & QTAUTH):
self.fs.clunk(self, req)
else:
self.respond(req, None)
Expand Down

0 comments on commit c5f7e81

Please sign in to comment.