summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr.h
diff options
context:
space:
mode:
authorVikas Gorur <vikas@gluster.com>2009-10-13 06:42:28 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-10-13 06:23:06 -0700
commit103a9ecfaf5881b31844b8a12a5b98dc5308a800 (patch)
tree821a94852500d83fa378f1e61b845bcaf3c17934 /xlators/cluster/afr/src/afr.h
parent7d6e73d4421265a304fd22964649e555a2db8097 (diff)
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 <avati@dev.gluster.com> 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
Diffstat (limited to 'xlators/cluster/afr/src/afr.h')
-rw-r--r--xlators/cluster/afr/src/afr.h1
1 files changed, 1 insertions, 0 deletions
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;