diff options
author | Anand Avati <avati@gluster.com> | 2009-10-26 05:43:59 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-10-26 07:09:16 -0700 |
commit | 79a5b7273d107f3c73534a117157184ffbc170e8 (patch) | |
tree | 6f3a560fe47b3d32fb8725012bd812f101b35a83 /xlators/protocol | |
parent | 106a651826eeaacf9d0b40fe6d088d6bdc997675 (diff) |
protocol/server: fix assignment of inode number in server_readlink
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 315 (generation number support)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=315
Diffstat (limited to 'xlators/protocol')
-rw-r--r-- | xlators/protocol/server/src/server-protocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/protocol/server/src/server-protocol.c b/xlators/protocol/server/src/server-protocol.c index 415d53c9db1..1939d07f687 100644 --- a/xlators/protocol/server/src/server-protocol.c +++ b/xlators/protocol/server/src/server-protocol.c @@ -2601,7 +2601,7 @@ server_readlink (call_frame_t *frame, xlator_t *bound_xl, state->resolve.type = RESOLVE_MUST; state->resolve.ino = ntoh64 (req->ino); - state->resolve.gen = ntoh64 (req->ino); + state->resolve.gen = ntoh64 (req->gen); state->resolve.path = strdup (req->path); state->size = ntoh32 (req->size); |