summaryrefslogtreecommitdiffstats
path: root/lib/parser.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2013-03-25 16:23:40 +0100
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-03-25 16:23:40 +0100
commit1166fde6a923c30f4351515b6a9a1efc513e7d00 (patch)
treec324a24baa26658651d2e1ecbf2771da569ff38b /lib/parser.c
parentNFSv4.1: Add a helper pnfs_commit_and_return_layout (diff)
downloadlinux-1166fde6a923c30f4351515b6a9a1efc513e7d00.tar.xz
linux-1166fde6a923c30f4351515b6a9a1efc513e7d00.zip
SUNRPC: Add barriers to ensure read ordering in rpc_wake_up_task_queue_locked
We need to be careful when testing task->tk_waitqueue in rpc_wake_up_task_queue_locked, because it can be changed while we are holding the queue->lock. By adding appropriate memory barriers, we can ensure that it is safe to test task->tk_waitqueue for equality if the RPC_TASK_QUEUED bit is set. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions