Skip to content
Commit e844d307 authored by Chuck Lever's avatar Chuck Lever
Browse files

svcrdma: Add a "deferred close" helper



Refactor a bit of commonly used logic so that every site that wants
a close deferred to an nfsd thread does all the right things
(set_bit(XPT_CLOSE) then enqueue).

Also, once XPT_CLOSE is set on a transport, it is never cleared. If
XPT_CLOSE is already set, then the close is already being handled
and the enqueue can be skipped.

Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
parent c558d475
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment