From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Gruenbacher Date: Wed, 30 Aug 2017 13:15:32 +0200 Subject: [Cluster-devel] [PATCH 1/4] GFS2: Introduce helper for clearing gl_object In-Reply-To: <20170718182305.27798-2-rpeterso@redhat.com> References: <20170718182305.27798-1-rpeterso@redhat.com> <20170718182305.27798-2-rpeterso@redhat.com> Message-ID: <20170830111532.13645-1-agruenba@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Bob, the following cleanup is needed to avoid spilling the syslog with false warnings. Thanks, Andreas --- fs/gfs2/rgrp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/gfs2/rgrp.c b/fs/gfs2/rgrp.c index 836e38ba5d0a..b9ae787b52c7 100644 --- a/fs/gfs2/rgrp.c +++ b/fs/gfs2/rgrp.c @@ -705,7 +705,7 @@ void gfs2_clear_rgrpd(struct gfs2_sbd *sdp) rb_erase(n, &sdp->sd_rindex_tree); if (gl) { - glock_set_object(gl, NULL); + glock_clear_object(gl, rgd); gfs2_glock_add_to_lru(gl); gfs2_glock_put(gl); } -- 2.13.3