summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr.h
diff options
context:
space:
mode:
authorVikas Gorur <vikas@gluster.com>2009-07-09 05:33:54 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-07-15 23:14:43 -0700
commit161188e919968f1d782e857151f2f4dca1fdfc22 (patch)
treefc7df0be2f5c649dd28f985693e5437e8b7d8ad2 /xlators/cluster/afr/src/afr.h
parentc276dfe936dbb48cd5569099c5cc142122d160f8 (diff)
Return inode number always from the first up subvolume in AFR.
Also fixes a bug in the "KLUDGE" part. It was setting lookup_buf when it should have been setting local->cont.lookup.buf Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 116 (Replicate: Need inode number from first subvolume on fresh lookup) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=116
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 2871bfc47..a4facf207 100644
--- a/xlators/cluster/afr/src/afr.h
+++ b/xlators/cluster/afr/src/afr.h
@@ -182,6 +182,7 @@ typedef struct _afr_local {
struct {
inode_t *inode;
struct stat buf;
+ ino_t ino;
dict_t *xattr;
} lookup;