Commit 476aed38 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

aoe: statically initialise devlist_lock

I guess aoedev_init() can go away now.

Cc: Greg KH <>
Cc: "Ed L. Cashin" <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 52e112b3
......@@ -16,7 +16,7 @@ static void freetgt(struct aoedev *d, struct aoetgt *t);
static void skbpoolfree(struct aoedev *d);
static struct aoedev *devlist;
static spinlock_t devlist_lock;
static DEFINE_SPINLOCK(devlist_lock);
aoedev_isbusy(struct aoedev *d)
......@@ -291,7 +291,5 @@ aoedev_exit(void)
int __init
return 0;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment