summaryrefslogtreecommitdiffstats
path: root/xlators/features/index/src/index.h
diff options
context:
space:
mode:
authorPranith Kumar K <pranithk@gluster.com>2012-07-25 23:09:08 +0530
committerAnand Avati <avati@redhat.com>2012-07-25 14:52:48 -0700
commit12516e8af663032a0e6133f5f8f62f1078f9462d (patch)
tree16ae7c27294637f99a3a24abd04e2f78ca778449 /xlators/features/index/src/index.h
parent7cce8c843e9002f521da0e1af892914c5bd68737 (diff)
features/index: make pthread_attr_t local to init()
RC & FIX: No need to carry around pthread_attr_t in index_priv. So made it local to init() Tests: stepped through init() in gdb, it succeeded. Change-Id: I0525ac0676f9a329fccb0fd064933594ec117261 BUG: 843071 Signed-off-by: Pranith Kumar K <pranithk@gluster.com> Reviewed-on: http://review.gluster.com/3729 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators/features/index/src/index.h')
-rw-r--r--xlators/features/index/src/index.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/xlators/features/index/src/index.h b/xlators/features/index/src/index.h
index 5d27b81f85b..36bc9acb74b 100644
--- a/xlators/features/index/src/index.h
+++ b/xlators/features/index/src/index.h
@@ -54,7 +54,6 @@ typedef struct index_priv {
struct list_head callstubs;
pthread_mutex_t mutex;
pthread_cond_t cond;
- pthread_attr_t w_attr;
} index_priv_t;
#define INDEX_STACK_UNWIND(fop, frame, params ...) \