diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-09-28 18:03:09 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-09-28 18:27:11 +0200 |
commit | 0e24d849c4ea777c59955b241fd3af14a1b84af5 (patch) | |
tree | 040025f1f7439395233591cdece544708e8ec333 /mm/migrate.c | |
parent | NFS4: avoid underflow when converting error to pointer. (diff) | |
download | linux-0e24d849c4ea777c59955b241fd3af14a1b84af5.tar.xz linux-0e24d849c4ea777c59955b241fd3af14a1b84af5.zip |
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>
Diffstat (limited to 'mm/migrate.c')
0 files changed, 0 insertions, 0 deletions