gfs2: fix locking mistake

Fix a locking mistake in the quota code, we do a mutex_lock instead of a
mutex_unlock.

Signed-off-by: Josef Whiter <jwhiter@redhat.com>
Cc: Steven Whitehouse <swhiteho@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Josef Whiter
2007-02-21 14:37:59 -08:00
committed by Greg Kroah-Hartman
parent 55eb1f49d9
commit daed330d4e
+1 -1
View File
@@ -279,7 +279,7 @@ static int bh_get(struct gfs2_quota_data *qd)
(bh->b_data + sizeof(struct gfs2_meta_header) +
offset * sizeof(struct gfs2_quota_change));
mutex_lock(&sdp->sd_quota_mutex);
mutex_unlock(&sdp->sd_quota_mutex);
return 0;