From 903020c302567363f0fb19c8d979e25c68c40101 Mon Sep 17 00:00:00 2001 From: Xu Gang Date: Tue, 14 Apr 2009 14:54:14 +0800 Subject: [PATCH] --- yaml --- r: 143355 b: refs/heads/master c: 1328df725239804ae30fc7257c1a3185e679b517 h: refs/heads/master i: 143353: 75f124053ca0d478a842a816b8a697aac9c88a3c 143351: faef0de18d858a7d09f501735afbfed61c1183ce v: v3 --- [refs] | 2 +- trunk/fs/gfs2/quota.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 4395a377c6e9..126e9ef13ca4 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 10d2198805d7faa2b193485446ff6b1de42c9b78 +refs/heads/master: 1328df725239804ae30fc7257c1a3185e679b517 diff --git a/trunk/fs/gfs2/quota.c b/trunk/fs/gfs2/quota.c index 47bc5cbba48e..152e6c4a0dca 100644 --- a/trunk/fs/gfs2/quota.c +++ b/trunk/fs/gfs2/quota.c @@ -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) {