summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/rpcb_clnt.c
diff options
context:
space:
mode:
authorTrond Myklebust2012-01-18 04:57:37 +0100
committerTrond Myklebust2012-02-01 01:28:08 +0100
commit961a828df64979d2a9faeeeee043391670a193b9 (patch)
tree4b7ddaf1a19c589e3c8ec96b6c732faa507f2899 /net/sunrpc/rpcb_clnt.c
parentNFS: Ensure that mmapped pages remain stable during writeback (diff)
downloadkernel-qcow2-linux-961a828df64979d2a9faeeeee043391670a193b9.tar.gz
kernel-qcow2-linux-961a828df64979d2a9faeeeee043391670a193b9.tar.xz
kernel-qcow2-linux-961a828df64979d2a9faeeeee043391670a193b9.zip
SUNRPC: Fix potential races in xprt_lock_write_next()
We have to ensure that the wake up from the waitqueue and the assignment of xprt->snd_task are atomic. We can do this by assigning the snd_task while under the waitqueue spinlock. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/rpcb_clnt.c')
0 files changed, 0 insertions, 0 deletions