summaryrefslogtreecommitdiffstats
path: root/xlators/features/index/src/index-mem-types.h
diff options
context:
space:
mode:
authorKrutika Dhananjay <kdhananj@redhat.com>2016-06-15 16:02:44 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2016-06-23 21:14:08 -0700
commit59523a782d7ed00b31c8cdf8da74310384272355 (patch)
treea445e8888acc42bd7836233a5307e9975ee323c0 /xlators/features/index/src/index-mem-types.h
parentec3ea75513347deb95960f49d58fc19478a7ad17 (diff)
features/index: Do deletion of name-index in unwind path
Previously the deletion of name index was being done before winding the xattrop to posix. This order needs to be changed to ensure we don't lose the index in the event the xattrop fails in posix xl. Change-Id: I4aa892b102cbf5269cede041b871064563cb7348 BUG: 1331323 Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com> Reviewed-on: http://review.gluster.org/14742 Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Ravishankar N <ravishankar@redhat.com> CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'xlators/features/index/src/index-mem-types.h')
-rw-r--r--xlators/features/index/src/index-mem-types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/features/index/src/index-mem-types.h b/xlators/features/index/src/index-mem-types.h
index 553d492dfbf..ca291cfba7e 100644
--- a/xlators/features/index/src/index-mem-types.h
+++ b/xlators/features/index/src/index-mem-types.h
@@ -17,6 +17,7 @@ enum gf_index_mem_types_ {
gf_index_mt_priv_t = gf_common_mt_end + 1,
gf_index_inode_ctx_t = gf_common_mt_end + 2,
gf_index_fd_ctx_t = gf_common_mt_end + 3,
+ gf_index_mt_local_t = gf_common_mt_end + 4,
gf_index_mt_end
};
#endif