diff options
author | Amar Tumballi <amar@gluster.com> | 2009-11-25 15:13:37 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-11-26 02:49:07 -0800 |
commit | 3429e8755756191d010896083ca9a7141682ead9 (patch) | |
tree | a529b7348b8bde711a2564746d43249ec6353529 /transport/socket | |
parent | 28e2901806d35055ca58470bf26d72edb803ba01 (diff) |
add an extra check for loc->parent when loc->ino is not 1
This extra check is needed only in case where setup is
"server -> chain -> client", where for the root inode, inode->ino
is not updated in the first lookup call, hence used to crash.
Signed-off-by: Amar Tumballi <amar@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 377 (segfault in protocol/client with chaining)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=377
Diffstat (limited to 'transport/socket')
0 files changed, 0 insertions, 0 deletions