summaryrefslogtreecommitdiff
path: root/fs/gfs2/util.h
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fusionio.com>2012-08-01 19:36:24 (GMT)
committerChris Mason <chris.mason@oracle.com>2012-08-28 20:53:33 (GMT)
commit66657b318e0e443ada229fccd40c8be86cfebdbf (patch)
treebf1334fff93556fbc8d82b26a6d5431fd9e74b5c /fs/gfs2/util.h
parent1fa11e265fa2562fb713171b6a58e72bb7afd276 (diff)
downloadlinux-fsl-qoriq-66657b318e0e443ada229fccd40c8be86cfebdbf.tar.xz
Btrfs: barrier before waitqueue_active
We need a barrir before calling waitqueue_active otherwise we will miss wakeups. So in places that do atomic_dec(); then atomic_read() use atomic_dec_return() which imply a memory barrier (see memory-barriers.txt) and then add an explicit memory barrier everywhere else that need them. Thanks, Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/gfs2/util.h')
0 files changed, 0 insertions, 0 deletions