diff options
author | Ravishankar N <ravishankar@redhat.com> | 2014-09-14 13:46:33 +0000 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2014-09-23 01:16:57 -0700 |
commit | 6470b905e2e9e5e3f7a6b1541358b9607efa4b74 (patch) | |
tree | fe62e371ddad5c0cce8e14c5e98839d294933600 /rfc.sh | |
parent | da1657d6841e6bd74074f5a60ed29cf3a97fbff4 (diff) |
heal:Do not ignore return value of syncop_getxattr()
Problem:
In glfs-heal.c, we are currently ignoring the return value of
syncop_getxattr() in glfsh_process_entries(). This can cause random characters
to be printed in the heal-info command when stale entries are present in
indices/xattrop directory.
Fix:
Check and purge stale entries instead of printing them, depending on the 'ret'
value of syncop_getxattr().
Change-Id: I6c87f3ab3fecde48cdbf7578a85782a1d2f1d55b
BUG: 1141558
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
Reviewed-on: http://review.gluster.org/8711
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Diffstat (limited to 'rfc.sh')
0 files changed, 0 insertions, 0 deletions