svcrpc: assume svc_delete_xprt() called only once
authorJ. Bruce Fields <bfields@redhat.com>
Sat, 23 Oct 2010 15:16:10 +0000 (11:16 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 25 Oct 2010 21:59:32 +0000 (17:59 -0400)
commitac9303eb74471bc2567960b47497a8bfbe1e5a03
tree17f9882d81b56d2787d0c556cfa6d76ea40a948b
parent7e4fdd0744fcb9f08854c37643bf529c5945cc36
svcrpc: assume svc_delete_xprt() called only once

As long as DEAD exports are left BUSY, and svc_delete_xprt is called
only with BUSY held, then svc_delete_xprt() will never be called on an
xprt that is already DEAD.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/svc_xprt.c