summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr.h
diff options
context:
space:
mode:
authorVikas Gorur <vikas@gluster.com>2009-07-15 09:36:36 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-07-27 09:32:38 -0700
commit87071f027c47ac04b482527a2be58480b4fd5973 (patch)
tree47d26eed7a7a860674284067d404d5a6f89d18ed /xlators/cluster/afr/src/afr.h
parentc045d4264bb83fb5e5384379aa3a824fe3038dc8 (diff)
Return stat from read subvolume in dir-write ops.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 138 (create family calls do not return stat buf from read child) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=138
Diffstat (limited to 'xlators/cluster/afr/src/afr.h')
-rw-r--r--xlators/cluster/afr/src/afr.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/afr.h b/xlators/cluster/afr/src/afr.h
index 1e9ced4ed..87ef26333 100644
--- a/xlators/cluster/afr/src/afr.h
+++ b/xlators/cluster/afr/src/afr.h
@@ -348,6 +348,7 @@ typedef struct _afr_local {
mode_t mode;
inode_t *inode;
struct stat buf;
+ struct stat read_child_buf;
} create;
struct {
@@ -356,6 +357,7 @@ typedef struct _afr_local {
mode_t mode;
inode_t *inode;
struct stat buf;
+ struct stat read_child_buf;
} mknod;
struct {
@@ -363,6 +365,7 @@ typedef struct _afr_local {
int32_t mode;
inode_t *inode;
struct stat buf;
+ struct stat read_child_buf;
} mkdir;
struct {
@@ -378,18 +381,21 @@ typedef struct _afr_local {
struct {
ino_t ino;
struct stat buf;
+ struct stat read_child_buf;
} rename;
struct {
ino_t ino;
inode_t *inode;
struct stat buf;
+ struct stat read_child_buf;
} link;
struct {
ino_t ino;
inode_t *inode;
struct stat buf;
+ struct stat read_child_buf;
char *linkpath;
} symlink;