features/quota: prevent statfs frame-loss when an error happens during
authorvmallika <vmallika@redhat.com>
Thu, 30 Apr 2015 07:05:40 +0000 (12:35 +0530)
committerRaghavendra G <rgowdapp@redhat.com>
Mon, 1 Jun 2015 04:45:31 +0000 (21:45 -0700)
commitd9efe535c9ee0d01e0718d2bb871067785d33d14
treee1fba26464dd8ede4924a6975830f8444c62786d
parent43d464326b1158d5b6caa60b2eac5b78f20b5026
features/quota: prevent statfs frame-loss when an error happens during
ancestry building.

We do quota_build_ancestry in function 'quota_get_limit_dir',
suppose if quota_build_ancestry fails, then we don't have a
frame saved to continue the statfs FOP and client can hang.

Change-Id: I92e25c1510d09444b9d4810afdb6b2a69dcd92c0
BUG: 1178619
Signed-off-by: Raghavendra G <rgowdapp@redhat.com>
Signed-off-by: vmallika <vmallika@redhat.com>
Reviewed-on: http://review.gluster.org/9380
Tested-by: Gluster Build System <jenkins@build.gluster.com>
xlators/features/quota/src/quota.c