commit | 0e24d849c4ea777c59955b241fd3af14a1b84af5 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Fri Sep 28 12:03:09 2012 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Fri Sep 28 12:27:11 2012 -0400 |
tree | 040025f1f7439395233591cdece544708e8ec333 | |
parent | 62d98c935456ee121b03d6a68aa3091a04085b7e [diff] |
NFSv4: Remove BUG_ON() and ACCESS_ONCE() calls in the idmapper 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: Trond Myklebust <Trond.Myklebust@netapp.com>