summaryrefslogtreecommitdiffstats
path: root/geo-replication/src/gsyncd.c
Commit message (Expand)AuthorAgeFilesLines
* libglusterfs: Move devel headers under glusterfs directoryShyamsundarR2018-12-051-7/+7
* geo-rep : fix high sev coverity isuueSunny Kumar2018-10-251-1/+0
* Land part 2 of clang-format changesGluster Ant2018-09-121-291/+294
* geo-rep: Remove unused working directory check in gsyncdAravinda VK2018-01-291-37/+1
* geo-rep: address potential leak of memoryPrasanna Kumar Kalever2016-07-191-1/+9
* core: use syscall wrappers instead of direct syscalls - miscellaneousKaleb S. KEITHLEY2015-10-281-5/+7
* geo-rep: Fix gsyncd failing to start on slaveKotresh HR2015-08-051-2/+13
* geo-replication: fix memory leak in gsyncdPrasanna Kumar Kalever2015-07-141-1/+5
* build: do not #include "config.h" in each fileNiels de Vos2015-05-291-5/+0
* geo-rep: Fixing the typo errorsarao2015-02-031-1/+1
* gsyncd : Use --remote-host option during cli invocationVenky Shankar2014-05-251-0/+1
* gsyncd / geo-rep: Initialize default memory accountingVenky Shankar2014-05-061-4/+11
* glusterd/cli changes for distributed geo-repAvra Sengupta2013-07-261-3/+3
* gsyncd: distribute the crawling loadAvra Sengupta2013-07-261-2/+43
* move 'xlators/marker/utils/' to 'geo-replication/' directoryAvra Sengupta2013-07-221-0/+367
}
resolve_loc->parent = link_inode;
- uuid_copy (resolve_loc->pargfid, resolve_loc->parent->gfid);
+ gf_uuid_copy (resolve_loc->pargfid, resolve_loc->parent->gfid);
resolve_loc->name = resolve->bname;
@@ -175,10 +175,10 @@ resolve_gfid (call_frame_t *frame)
resolve = state->resolve_now;
resolve_loc = &resolve->resolve_loc;
- if (!uuid_is_null (resolve->pargfid))
- uuid_copy (resolve_loc->gfid, resolve->pargfid);
- else if (!uuid_is_null (resolve->gfid))
- uuid_copy (resolve_loc->gfid, resolve->gfid);
+ if (!gf_uuid_is_null (resolve->pargfid))
+ gf_uuid_copy (resolve_loc->gfid, resolve->pargfid);
+ else if (!gf_uuid_is_null (resolve->gfid))
+ gf_uuid_copy (resolve_loc->gfid, resolve->gfid);
resolve_loc->inode = inode_new (state->itable);
ret = loc_path (resolve_loc, NULL);
@@ -208,9 +208,9 @@ resolve_continue (call_frame_t *frame)
if (resolve->fd_no != -1) {
ret = resolve_anonfd_simple (frame);
goto out;
- } else if (!uuid_is_null (resolve->pargfid))
+ } else if (!gf_uuid_is_null (resolve->pargfid))
ret = resolve_entry_simple (frame);
- else if (!uuid_is_null (resolve->gfid))
+ else if (!gf_uuid_is_null (resolve->gfid))
ret = resolve_inode_simple (frame);
if (ret)
gf_log (this->name, GF_LOG_DEBUG,
@@ -256,7 +256,7 @@ resolve_entry_simple (call_frame_t *frame)
}
/* expected @parent was found from the inode cache */
- uuid_copy (state->loc_now->pargfid, resolve->pargfid);
+ gf_uuid_copy (state->loc_now->pargfid, resolve->pargfid);
state->loc_now->parent = inode_ref (parent);
state->loc_now->name = resolve->bname;
@@ -355,7 +355,7 @@ resolve_inode_simple (call_frame_t *frame)
ret = 0;
state->loc_now->inode = inode_ref (inode);
- uuid_copy (state->loc_now->gfid, resolve->gfid);
+ gf_uuid_copy (state->loc_now->gfid, resolve->gfid);
out:
if (inode)
@@ -509,11 +509,11 @@ server_resolve (call_frame_t *frame)
server_resolve_fd (frame);
- } else if (!uuid_is_null (resolve->pargfid)) {
+ } else if (!gf_uuid_is_null (resolve->pargfid)) {
server_resolve_entry (frame);
- } else if (!uuid_is_null (resolve->gfid)) {
+ } else if (!gf_uuid_is_null (resolve->gfid)) {
server_resolve_inode (frame);
diff --git a/xlators/protocol/server/src/server-rpc-fops.c b/xlators/protocol/server/src/server-rpc-fops.c
index 024cfc0b8d6..c69b17fd255 100644
--- a/xlators/protocol/server/src/server-rpc-fops.c
+++ b/xlators/protocol/server/src/server-rpc-fops.c
@@ -116,7 +116,7 @@ server_lookup_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
/* we just looked up root ("/") */
stbuf->ia_ino = 1;
rootgfid[15] = 1;
- uuid_copy (stbuf->ia_gfid, rootgfid);
+ gf_uuid_copy (stbuf->ia_gfid, rootgfid);
if (inode->ia_type == 0)
inode->ia_type = stbuf->ia_type;
}