SUNRPC: xprt_clear_locked() only needs release memory semantics
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 12 Jul 2021 16:34:34 +0000 (12:34 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 4 Oct 2021 00:49:06 +0000 (20:49 -0400)
commit33c3214bf450051db99d352cfeef7e0ffcbb8614
tree864bcc2fa753fb66ca37450f4b2c796f7144773d
parentb9f8713f42af11ae6d7f63075334ba5298436be6
SUNRPC: xprt_clear_locked() only needs release memory semantics

The clearing of the XPRT_LOCKED bit has to happen after we clear
xprt->snd_task, but we don't require any extra memory barriers after
that.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/xprt.c