]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbf4720aa342e1f609c169219a1ee4f750ac52974
treeaa05253f7dece741e2a9a90a0fad2879a54b2039
parentab516f8f43d7b665723df27fc05174837db2cf87
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