diff options
author | Vikas Gorur <vikas@gluster.com> | 2009-07-09 10:02:27 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-07-09 14:03:36 -0700 |
commit | b23c9fcc8a16b8c4a4b1814ff5035a18f03da0f4 (patch) | |
tree | 03104767adeac6d354679d440df32b69626cf7b8 /xlators/cluster/afr/src/afr.h | |
parent | 9ada0a5b97851c3b4d220a3b236728b7a26f0196 (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>
Diffstat (limited to 'xlators/cluster/afr/src/afr.h')
-rw-r--r-- | xlators/cluster/afr/src/afr.h | 1 |
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; |