Description of problem: priv->reten_mode is initialised by option 'retention-mode'. and it reference the memory in this->options. so fini() use mem_put to free priv->reten_mode will cause a problem.
REVIEW: http://review.gluster.org/15296 (features/read-only: reten_mode is invalid to be free by mem_put()) posted (#1) for review on master by Anonymous Coward
COMMIT: http://review.gluster.org/15296 committed in master by Jeff Darcy (jdarcy) ------ commit 975c5572a8300c81e127c27e677974f49e96bd5d Author: Ryan Ding <ryan.ding> Date: Wed Aug 24 00:08:12 2016 +0800 features/read-only: reten_mode is invalid to be free by mem_put() priv->reten_mode is initialised by option 'retention-mode'. and it reference the memory in this->options. so fini() use mem_put to free priv->reten_mode will cause a problem. there is no need to call mem_put(), so just remove it will be fine. Change-Id: Iee6f9d1d54df38cba8c9b9100e2824f4f2b18ab4 BUG: 1369523 Signed-off-by: Ryan Ding <ryan.ding> Reviewed-on: http://review.gluster.org/15296 Smoke: Gluster Build System <jenkins.org> Reviewed-by: Niels de Vos <ndevos> CentOS-regression: Gluster Build System <jenkins.org> NetBSD-regression: NetBSD Build System <jenkins.org>
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.10.0, please open a new bug report. glusterfs-3.10.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://lists.gluster.org/pipermail/gluster-users/2017-February/030119.html [2] https://www.gluster.org/pipermail/gluster-users/