X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=fs%2Fafs%2Fserver.c;h=62b093aa41c63a38732c17c21766391bb4e69d96;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=fbfc28e3eded0cc9e2f9d1e15dee371f32753bb3;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/fs/afs/server.c b/fs/afs/server.c index fbfc28e3e..62b093aa4 100644 --- a/fs/afs/server.c +++ b/fs/afs/server.c @@ -21,7 +21,7 @@ #include "kafstimod.h" #include "internal.h" -spinlock_t afs_server_peer_lock = SPIN_LOCK_UNLOCKED; +DEFINE_SPINLOCK(afs_server_peer_lock); #define FS_SERVICE_ID 1 /* AFS Volume Location Service ID */ #define VL_SERVICE_ID 52 /* AFS Volume Location Service ID */