summaryrefslogtreecommitdiffstats
path: root/xlators/features/quota
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendrabhat@gluster.com>2011-04-14 05:10:34 +0000
committerAnand Avati <avati@gluster.com>2011-04-14 04:07:41 -0700
commitd6cbfe3b4be0af43a14df76e2305488158cff3e1 (patch)
treebc5cbe68324508d4e5b208819f9e3f945902d551 /xlators/features/quota
parent1d1452e070f990cc91fea87408ea4905abde2fb7 (diff)
quota: resume the stub when its not NULL
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2758 ([glusterfs-3.2.0qa11]: symlink hangs) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2758
Diffstat (limited to 'xlators/features/quota')
-rw-r--r--xlators/features/quota/src/quota.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/quota/src/quota.c b/xlators/features/quota/src/quota.c
index d3b970264..e5868189d 100644
--- a/xlators/features/quota/src/quota.c
+++ b/xlators/features/quota/src/quota.c
@@ -1827,7 +1827,7 @@ quota_symlink (call_frame_t *frame, xlator_t *this, const char *linkpath,
}
UNLOCK (&local->lock);
- if (stub == NULL) {
+ if (stub != NULL) {
call_resume (stub);
}