diff options
author | Shyam <srangana@redhat.com> | 2014-10-24 15:44:22 -0400 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-11-05 21:30:30 -0800 |
commit | 08109ed5a7e09ec14ecb3640cfcaf9b32d83499b (patch) | |
tree | b9f9642f02418e4806b3a5297c4365096b3081f8 /xlators/cluster/afr/src | |
parent | edeb348a1cfe41aebd700e0689fa1139c1ebe408 (diff) |
xlator/io-stat: Check and copy loc->path
Cases where loc->path is NULL, the current code in create/open/mkdir
would copy the same blindly and as a result coredump.
This is a preventive fix for the coredump. The reason for loc->path
to be NULL in certain cases is yet to be determined.
One such case is when resolve_loc_touchup fails to get inode_path due
to loops in the inode table.
Change-Id: Ic2ddf2cc9f2acaf9b939afc11afd193b4402ee7c
BUG: 1159221
Signed-off-by: Shyam <srangana@redhat.com>
Reviewed-on: http://review.gluster.org/9029
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/cluster/afr/src')
0 files changed, 0 insertions, 0 deletions