Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2e95b6653bb69c893e6ee1b42b537939c1ea2b9c
Commit:     2e95b6653bb69c893e6ee1b42b537939c1ea2b9c
Parent:     08e15e81a40e3241ce93b4a43886f3abda184aa6
Author:     Josef Whiter <[EMAIL PROTECTED]>
AuthorDate: Tue Feb 20 00:03:29 2007 -0500
Committer:  Steven Whitehouse <[EMAIL PROTECTED]>
CommitDate: Wed Mar 7 13:56:41 2007 -0500

    [GFS2] fix locking mistake
    
    This patch fixes a locking mistake in the quota code, we do a mutex_lock 
instead
    of a mutex_unlock.
    
    Signed-off-by: Josef Whiter <[EMAIL PROTECTED]>
    Signed-off-by: Steven Whitehouse <[EMAIL PROTECTED]>
---
 fs/gfs2/quota.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/gfs2/quota.c b/fs/gfs2/quota.c
index d0db881..c186857 100644
--- a/fs/gfs2/quota.c
+++ b/fs/gfs2/quota.c
@@ -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;
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to