diff options
author | Trond Myklebust <trondmy@gmail.com> | 2019-01-03 15:17:12 +0100 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2019-02-06 21:37:14 +0100 |
commit | 1602a7b7d33741d0490682e620bb29e96ad684d7 (patch) | |
tree | 28331ddd85596bfb631950c5ad51c602a946f0c4 /net/switchdev | |
parent | nfsd: fix an IS_ERR() vs NULL check (diff) | |
download | linux-1602a7b7d33741d0490682e620bb29e96ad684d7.tar.xz linux-1602a7b7d33741d0490682e620bb29e96ad684d7.zip |
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>
Diffstat (limited to 'net/switchdev')
0 files changed, 0 insertions, 0 deletions