Created attachment 897785 [details] ret code update patch Description of problem: In gf-history-changelog:gf_history_changelog_done(), the function return value is updateded unnecessarily. ret is -1 at the start of the function. It is updated by a call to rename on line 76. On success, this value is set to 0. This is repeated on line 84. https://github.com/gluster/glusterfs/blame/master/xlators/features/changelog/lib/src/gf-history-changelog.c#L84 Version-Release number of selected component (if applicable): 3.5 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: See attached patch Additional info:
This bug is getting closed because the 3.5 is marked End-Of-Life. There will be no further updates to this version. Please open a new bug against a version that still receives bugfixes if you are still facing this issue in a more current release.