summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/syncop.c
diff options
context:
space:
mode:
authorPranith Kumar K <pranithk@gluster.com>2011-11-07 14:42:37 +0530
committerVijay Bellur <vijay@gluster.com>2011-11-16 21:09:22 -0800
commitebc497ddb9d362b9f6390b4a8176afe9f2b5def0 (patch)
tree38f3f2e05e10df610059b19d6ce06832029062f8 /libglusterfs/src/syncop.c
parent51a78ad316975763d45c11affa571892e03643e8 (diff)
libglusterfs: copy the stat structure in entry_copy
Change-Id: I7a8bd3b3f9600ced4a945f07447698876933ade0 BUG: 3760 Reviewed-on: http://review.gluster.com/678 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Jeff Darcy <jdarcy@redhat.com> Reviewed-by: Amar Tumballi <amar@gluster.com>
Diffstat (limited to 'libglusterfs/src/syncop.c')
-rw-r--r--libglusterfs/src/syncop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfs/src/syncop.c b/libglusterfs/src/syncop.c
index 9565048..99956bf 100644
--- a/libglusterfs/src/syncop.c
+++ b/libglusterfs/src/syncop.c
@@ -346,6 +346,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;
+ sink->d_stat = source->d_stat;
return sink;
}