sunrpc: convert sp_task_pending flag to use atomic bitops
authorJeff Layton <jlayton@primarydata.com>
Wed, 19 Nov 2014 12:51:20 +0000 (07:51 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 9 Dec 2014 16:22:21 +0000 (11:22 -0500)
commit4d5db3f536ae3886ac86877742e6f8ce69a5de06
tree611d0882898d50002069e80e282cb61171980505
parent62978b3c619422d0ea17dbd39efdb2328295bcfb
sunrpc: convert sp_task_pending flag to use atomic bitops

In a later patch, we'll want to be able to handle this flag without
holding the sp_lock. Change this field to an unsigned long flags
field, and declare a new flag in it that can be managed with atomic
bitops.

Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
include/linux/sunrpc/svc.h
net/sunrpc/svc_xprt.c