summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/dict.c
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2015-02-06 17:06:28 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2015-02-24 21:57:53 -0800
commit5d59402af8397da1a8eb5f822e1e650ce3285833 (patch)
tree76dcf4f8b6e8e8bb80e74e05d4c9abb84f41502c /libglusterfs/src/dict.c
parent729428aae82e8b878227bb71e65b629783e17ffb (diff)
features/index: Add option to track specific xattrs for xattrop64
This enables trusted.ec.dirty to be tracked in index Change-Id: Ief1619110859f6f9ccee3da229f0688b73e2124b BUG: 1177601 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com> Reviewed-on: http://review.gluster.org/9602 Reviewed-by: Krutika Dhananjay <kdhananj@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'libglusterfs/src/dict.c')
-rw-r--r--libglusterfs/src/dict.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libglusterfs/src/dict.c b/libglusterfs/src/dict.c
index 3d8b5d8fef1..31867588def 100644
--- a/libglusterfs/src/dict.c
+++ b/libglusterfs/src/dict.c
@@ -1122,8 +1122,8 @@ dict_remove_foreach_fn (dict_t *d, char *k,
return 0;
}
-static inline gf_boolean_t
-match_everything (dict_t *d, char *k, data_t *v, void *data)
+gf_boolean_t
+dict_match_everything (dict_t *d, char *k, data_t *v, void *data)
{
return _gf_true;
}
@@ -1138,7 +1138,7 @@ dict_foreach (dict_t *dict,
{
int ret = 0;
- ret = dict_foreach_match (dict, match_everything, NULL, fn, data);
+ ret = dict_foreach_match (dict, dict_match_everything, NULL, fn, data);
if (ret > 0)
ret = 0;