|
@@ -62,7 +62,7 @@ static inline void do_xprt_reserve(struct rpc_task *);
|
|
static void xprt_connect_status(struct rpc_task *task);
|
|
static void xprt_connect_status(struct rpc_task *task);
|
|
static int __xprt_get_cong(struct rpc_xprt *, struct rpc_task *);
|
|
static int __xprt_get_cong(struct rpc_xprt *, struct rpc_task *);
|
|
|
|
|
|
-static spinlock_t xprt_list_lock = SPIN_LOCK_UNLOCKED;
|
|
|
|
|
|
+static DEFINE_SPINLOCK(xprt_list_lock);
|
|
static LIST_HEAD(xprt_list);
|
|
static LIST_HEAD(xprt_list);
|
|
|
|
|
|
/*
|
|
/*
|