From 8c12090eca992331ca312b936d43a4ef5f3266c5 Mon Sep 17 00:00:00 2001 From: Julia Lawall Date: Wed, 26 May 2010 15:57:23 +0000 Subject: [PATCH] --- yaml --- r: 200181 b: refs/heads/master c: 38e712ab3d28d79725eaade02fe8aba51abac196 h: refs/heads/master i: 200179: 6ec9f5eda616503182309950b4f33569b438f6ea v: v3 --- [refs] | 2 +- trunk/fs/xfs/quota/xfs_qm.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index ab019b99dd9d..ce6fa4cbc8f3 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3bd0946eb157e26240ca858d1a42738b095dc6f3 +refs/heads/master: 38e712ab3d28d79725eaade02fe8aba51abac196 diff --git a/trunk/fs/xfs/quota/xfs_qm.c b/trunk/fs/xfs/quota/xfs_qm.c index 38e764146644..2d8b7bc792c9 100644 --- a/trunk/fs/xfs/quota/xfs_qm.c +++ b/trunk/fs/xfs/quota/xfs_qm.c @@ -249,8 +249,10 @@ xfs_qm_hold_quotafs_ref( if (!xfs_Gqm) { xfs_Gqm = xfs_Gqm_init(); - if (!xfs_Gqm) + if (!xfs_Gqm) { + mutex_unlock(&xfs_Gqm_lock); return ENOMEM; + } } /*