Whamcloud - gitweb
LU-812 compat: SPIN/RW_LOCK_UNLOCKED no longer exist
[fs/lustre-release.git] / lustre / quota / quota_interface.c
index 3cb5cf2..3eab618 100644 (file)
@@ -62,7 +62,7 @@
 #ifdef __KERNEL__
 
 static cfs_time_t last_print = 0;
-static cfs_spinlock_t last_print_lock = CFS_SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(last_print_lock);
 
 static int filter_quota_setup(struct obd_device *obd)
 {