summaryrefslogtreecommitdiff
path: root/fs/gfs2/dentry.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-09-28 16:03:09 (GMT)
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-09-28 16:27:11 (GMT)
commit0e24d849c4ea777c59955b241fd3af14a1b84af5 (patch)
tree040025f1f7439395233591cdece544708e8ec333 /fs/gfs2/dentry.c
parent62d98c935456ee121b03d6a68aa3091a04085b7e (diff)
downloadlinux-fsl-qoriq-0e24d849c4ea777c59955b241fd3af14a1b84af5.tar.xz
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 'fs/gfs2/dentry.c')
0 files changed, 0 insertions, 0 deletions