summaryrefslogtreecommitdiff
path: root/virt/kvm/eventfd.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-12-04 02:00:08 +0400
committerJohannes Berg <johannes.berg@intel.com>2013-01-03 16:01:27 +0400
commite8da2bb4fe9ecb888f44714e2624c7d4268ac09d (patch)
treec776f0786e9d72c34888a25cec998f348ef64d70 /virt/kvm/eventfd.c
parent5d885b999c68283c493cf00cc020260d38951ae6 (diff)
downloadlinux-e8da2bb4fe9ecb888f44714e2624c7d4268ac09d.tar.xz
regulatory: clarify locking rules and assertions
Many places that currently check that cfg80211_mutex is held don't actually use any data protected by it. The functions that need to hold the cfg80211_mutex are the ones using the cfg80211_regdomain variable, so add the lock assertion to those and clarify this in the comments. The reason for this is that nl80211 uses the regdom without being able to hold reg_mutex. Acked-by: Luis R. Rodriguez <mcgrof@do-not-panic.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'virt/kvm/eventfd.c')
0 files changed, 0 insertions, 0 deletions