vserver 1.9.5.x5
[linux-2.6.git] / fs / xfs / support / debug.c
index 2e5a3e9..7d6e1f3 100644 (file)
@@ -38,7 +38,7 @@
 
 int                    doass = 1;
 static char            message[256];   /* keep it off the stack */
-static spinlock_t      xfs_err_lock = SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(xfs_err_lock);
 
 /* Translate from CE_FOO to KERN_FOO, err_level(CE_FOO) == KERN_FOO */
 #define XFS_MAX_ERR_LEVEL      7