diff options
author | Ondrej Mosnacek <omosnace@redhat.com> | 2020-04-08 11:08:08 +0200 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2020-04-15 18:27:35 -0400 |
commit | 433e3aa37773e8a36858b9417c3e345eff79a079 (patch) | |
tree | 6dcbfa93ad447e42029cce5dba887148a1994dd3 /lib/fault-inject.c | |
parent | 4b8503967ef5d1123d6e0a87d5723bdaeddf8b3f (diff) | |
download | linux-433e3aa37773e8a36858b9417c3e345eff79a079.tar.gz linux-433e3aa37773e8a36858b9417c3e345eff79a079.tar.bz2 linux-433e3aa37773e8a36858b9417c3e345eff79a079.zip |
selinux: drop unnecessary smp_load_acquire() call
In commit 66f8e2f03c02 ("selinux: sidtab reverse lookup hash table") the
corresponding load is moved under the spin lock, so there is no race
possible and we can read the count directly. The smp_store_release() is
still needed to avoid racing with the lock-free readers.
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions