From 103a9ecfaf5881b31844b8a12a5b98dc5308a800 Mon Sep 17 00:00:00 2001 From: Vikas Gorur Date: Tue, 13 Oct 2009 06:42:28 +0000 Subject: cluster/afr: Set mtime of parent directory in self-heal properly. While creating/deleting an entry as part of entry self-heal, set the parent directory's mtime to match that on the source subvolume. Signed-off-by: Anand V. Avati BUG: 137 (Parent directory mtime not reset after a create in self-heal) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=137 --- xlators/cluster/afr/src/afr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'xlators/cluster/afr/src/afr.h') diff --git a/xlators/cluster/afr/src/afr.h b/xlators/cluster/afr/src/afr.h index 4cbb1b19cb6..4e937fb1722 100644 --- a/xlators/cluster/afr/src/afr.h +++ b/xlators/cluster/afr/src/afr.h @@ -69,6 +69,7 @@ typedef struct _afr_private { typedef struct { /* array of stat's, one for each child */ struct stat *buf; + struct stat parentbuf; /* array of xattr's, one for each child */ dict_t **xattr; -- cgit