diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2015-02-25 11:37:57 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2015-02-27 01:28:35 -0800 |
commit | d5624b2d4baf509ad8d6037a0d9cabf9cd5ab1c5 (patch) | |
tree | a5f257e370606282a1f9c98418e48c466077e5f3 /libglusterfs/src/common-utils.h | |
parent | 6a77db6d19dba5367c02cbf2a5883ac49cef94e2 (diff) |
libglusterfs: Moved common functions as utils in syncop/common-utils
These will be used by both afr and ec. Moved syncop_dirfd, syncop_ftw,
syncop_dir_scan functions also into syncop-utils.c
Change-Id: I467253c74a346e1e292d36a8c1a035775c3aa670
BUG: 1177601
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: http://review.gluster.org/9740
Reviewed-by: Krutika Dhananjay <kdhananj@redhat.com>
Reviewed-by: Anuradha Talur <atalur@redhat.com>
Reviewed-by: Ravishankar N <ravishankar@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'libglusterfs/src/common-utils.h')
-rw-r--r-- | libglusterfs/src/common-utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libglusterfs/src/common-utils.h b/libglusterfs/src/common-utils.h index 69b1e277861..6e1669912cd 100644 --- a/libglusterfs/src/common-utils.h +++ b/libglusterfs/src/common-utils.h @@ -679,4 +679,7 @@ recursive_rmdir (const char *delete_path); int gf_get_index_by_elem (char **array, char *elem); + +int +glusterfs_is_local_pathinfo (char *pathinfo, gf_boolean_t *local); #endif /* _COMMON_UTILS_H */ |