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)
commit208f3c28aab706fca2bc1bae7091da8a99c5e322
treeaa05253f7dece741e2a9a90a0fad2879a54b2039
parenta314f2748e76c866222a18e639c640d584d277fb
net/9p: handle flushed Tclunk/Tremove

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>
net/9p/client.c