X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fafs%2Fkafstimod.c;h=e8bbffee586600893272f8f5edf249d42428c369;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=d7c8826b52a8e42d6f97bc78585c427475c247a0;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/fs/afs/kafstimod.c b/fs/afs/kafstimod.c index d7c8826b5..e8bbffee5 100644 --- a/fs/afs/kafstimod.c +++ b/fs/afs/kafstimod.c @@ -25,7 +25,7 @@ static DECLARE_WAIT_QUEUE_HEAD(kafstimod_sleepq); static int kafstimod_die; static LIST_HEAD(kafstimod_list); -static spinlock_t kafstimod_lock = SPIN_LOCK_UNLOCKED; +static DEFINE_SPINLOCK(kafstimod_lock); static int kafstimod(void *arg);