commit | 1602a7b7d33741d0490682e620bb29e96ad684d7 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trondmy@gmail.com> | Thu Jan 03 09:17:12 2019 -0500 |
committer | J. Bruce Fields <bfields@redhat.com> | Wed Feb 06 15:37:14 2019 -0500 |
tree | 28331ddd85596bfb631950c5ad51c602a946f0c4 | |
parent | 1c3da4452d185e4be663e76a1b9842184d8f9c4c [diff] |
SUNRPC: Don't allow compiler optimisation of svc_xprt_release_slot() Use READ_ONCE() to tell the compiler to not optimse away the read of xprt->xpt_flags in svc_xprt_release_slot(). Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>