summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Pandit <spandit@redhat.com>2015-04-14 04:18:56 +0530
committerVijay Bellur <vbellur@redhat.com>2015-04-16 06:28:59 +0000
commit09dd086e776aa4d1c2ce3abe0e3b74b298372141 (patch)
tree4c9c10bfed535e601c5570a36efa2de1577c0617
parent3d76e803e7c7197c49bfcb7fdba9cd8f0a6cb542 (diff)
quota : Fix smoke test failure.
Functions check_ancestory_2 and quota_build_ancestry related to quota feature was not declared in the header file. This patch fixes the failure caused because of the mentioned reason. Change-Id: I967ee8ea943e2e7a54718e21245d1f63eb4d70e9 BUG: 1165938 Signed-off-by: Sachin Pandit <spandit@redhat.com> Reviewed-on: http://review.gluster.org/10243 Reviewed-by: Raghavendra Talur <rtalur@redhat.com> Reviewed-by: mohammed rafi kc <rkavunga@redhat.com> Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com> Tested-by: Raghavendra Bhat <raghavendra@redhat.com> Reviewed-by: Vijaikumar Mallikarjuna <vmallika@redhat.com>
-rw-r--r--xlators/features/quota/src/quota.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/xlators/features/quota/src/quota.h b/xlators/features/quota/src/quota.h
index dd63ac94a3f..149582593ff 100644
--- a/xlators/features/quota/src/quota.h
+++ b/xlators/features/quota/src/quota.h
@@ -226,6 +226,12 @@ struct quota_priv {
};
typedef struct quota_priv quota_priv_t;
+void
+check_ancestory_2 (xlator_t *this, quota_local_t *local, inode_t *inode);
+
+int
+quota_build_ancestry (inode_t *inode, quota_ancestry_built_t ancestry_cbk,
+ void *data);
int
quota_enforcer_lookup (call_frame_t *frame, xlator_t *this, loc_t *loc,
dict_t *xdata, fop_lookup_cbk_t cbk);