]> Pileus Git - ~andy/linux/blobdiff - fs/gfs2/quota.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6
[~andy/linux] / fs / gfs2 / quota.c
index 47bc5cbba48e3865bcee17771ad40833ca46c5a4..152e6c4a0dca2b467df51d1eb9defa92a903ffab 100644 (file)
@@ -81,7 +81,7 @@ struct gfs2_quota_change_host {
 
 static LIST_HEAD(qd_lru_list);
 static atomic_t qd_lru_count = ATOMIC_INIT(0);
-static spinlock_t qd_lru_lock = SPIN_LOCK_UNLOCKED;
+static DEFINE_SPINLOCK(qd_lru_lock);
 
 int gfs2_shrink_qd_memory(int nr, gfp_t gfp_mask)
 {