Skip to content

Commit

Permalink
[SUNRPC]: Remove SPIN_LOCK_UNLOCKED
Browse files Browse the repository at this point in the history
SPIN_LOCK_UNLOCKED is deprecated, use DEFINE_SPINLOCK instead

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
  • Loading branch information
Jiri Slaby authored and Herbert Xu committed Nov 22, 2007
1 parent 5fe4a33 commit 5ba03e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/sunrpc/xprt.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ static inline void do_xprt_reserve(struct rpc_task *);
static void xprt_connect_status(struct rpc_task *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);

/*
Expand Down

0 comments on commit 5ba03e8

Please sign in to comment.