diff options
author | Alexander Aring <[email protected]> | 2021-07-16 16:22:35 -0400 |
---|---|---|
committer | David Teigland <[email protected]> | 2021-07-19 11:53:43 -0500 |
commit | d921a23f3e1a703875db436cc7cdb4404cf1565f (patch) | |
tree | 7f4a7a8c466358efb26abdc5b21d0e9480b61ce3 /net/lapb/lapb_subr.c | |
parent | feb704bd17786c8ff52a49d7759b8ee4f3a5aaac (diff) |
fs: dlm: use READ_ONCE for config var
This patch will use READ_ONCE to signal the compiler to read this
variable only one time. If we don't do that it could be that the
compiler read this value more than one time, because some optimizations,
from the configure data which might can be changed during this time.
Signed-off-by: Alexander Aring <[email protected]>
Signed-off-by: David Teigland <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions