Skip to content
Snippets Groups Projects
user avatar
Trond Myklebust authored
The use of ACCESS_ONCE() is wrong, since the various routines that set/clear
idmap->idmap_key_cons should be strictly ordered w.r.t. each other, and
the idmap->idmap_mutex ensures that only one thread at a time may be in
an upcall situation.

Also replace the BUG_ON()s with WARN_ON_ONCE() where appropriate.

Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
0e24d849