diff options
author | Pranith Kumar K <pranithk@gluster.com> | 2011-11-04 19:09:08 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2011-11-04 08:55:54 -0700 |
commit | 68fa84827120558a80f132da6918490885611a19 (patch) | |
tree | f7317b51c36df24918631e9165bebcff60add547 | |
parent | e7bb65ede7df803e415a32582ff644d0ef434a70 (diff) |
libglusterfs: copy the gfid in entry_copy
Change-Id: I8a43b5fbe7a90344f490090df853d47b651bc0ff
BUG: 3760
Reviewed-on: http://review.gluster.com/672
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vijay@gluster.com>
-rw-r--r-- | libglusterfs/src/syncop.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfs/src/syncop.c b/libglusterfs/src/syncop.c index 3ed5405af..ebeb38c00 100644 --- a/libglusterfs/src/syncop.c +++ b/libglusterfs/src/syncop.c @@ -338,6 +338,7 @@ entry_copy (gf_dirent_t *source) sink->d_off = source->d_off; sink->d_ino = source->d_ino; sink->d_type = source->d_type; + uuid_copy (sink->d_stat.ia_gfid, source->d_stat.ia_gfid); return sink; } |