diff options
author | Pranith Kumar K <pranithk@gluster.com> | 2012-07-29 20:22:07 +0530 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-07-31 11:25:39 -0700 |
commit | b21395aee3b5676f94231165f492f776133ff507 (patch) | |
tree | f6958839c69effc5e13e9bbb247a3d2ff2fcda13 /AUTHORS | |
parent | 7e892ac95a4dd4c38ca793ef1b987cd24758ec4d (diff) |
cluster/afr: update loc inode after inode_link
RCA:
inode passed to inode_link is not assigned any gfid if the
inode with that gfid is already linked, so loc for opendir
does not have a valid inode
Fix:
Use the linked_inode returned by inode_link in the loc to
perform further operations on the entry.
Tests:
Checked that opendir comes with an loc with valid inode.
Checked that re-opendir happens successfully. Tested index,
full self-heal work fine with the fix.
Change-Id: Idf4ced4cc2320133744962059d363e373af0e5ec
BUG: 826580
Signed-off-by: Pranith Kumar K <pranithk@gluster.com>
Reviewed-on: http://review.gluster.com/3748
Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions