From ebc497ddb9d362b9f6390b4a8176afe9f2b5def0 Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Mon, 7 Nov 2011 14:42:37 +0530 Subject: 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 Reviewed-by: Jeff Darcy Reviewed-by: Amar Tumballi --- libglusterfs/src/syncop.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libglusterfs') diff --git a/libglusterfs/src/syncop.c b/libglusterfs/src/syncop.c index 9565048feec..99956bfb7ee 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; } -- cgit