net/9p: handle flushed Tclunk/Tremove
authorJim Garlick <garlick@llnl.gov>
Sun, 26 Feb 2012 20:49:57 +0000 (14:49 -0600)
committerEric Van Hensbergen <ericvh@gmail.com>
Sun, 26 Feb 2012 20:49:57 +0000 (14:49 -0600)
When a Tclunk or Tremove request is flushed, the fid is not freed on the
server.

p9_client_clunk() should retry once on interrupt, then if interrupted
again, leak the fid for the duration of the connection.

p9_client_remove() should call p9_client_clunk() on interrupt
instead of unconditionally destroying the fid.

Signed-off-by: Jim Garlick <garlick@llnl.gov>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>

No differences found