From: Trond Myklebust Date: Wed, 18 Jan 2012 03:57:37 +0000 (-0500) Subject: SUNRPC: Fix potential races in xprt_lock_write_next() X-Git-Tag: v3.4-rc1~123^2~177 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=961a828df64979d2a9faeeeee043391670a193b9;p=pandora-kernel.git 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 --- Reading git-diff-tree failed