Commit 7023a0b1 authored by Andreas Gruenbacher's avatar Andreas Gruenbacher Committed by Bob Peterson

GFS2: Fix gl_object warnings

The following cleanup is needed to avoid spilling the syslog with
false warnings.
Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: default avatarBob Peterson <rpeterso@redhat.com>
parent 27c3b415
...@@ -705,7 +705,7 @@ void gfs2_clear_rgrpd(struct gfs2_sbd *sdp) ...@@ -705,7 +705,7 @@ void gfs2_clear_rgrpd(struct gfs2_sbd *sdp)
rb_erase(n, &sdp->sd_rindex_tree); rb_erase(n, &sdp->sd_rindex_tree);
if (gl) { if (gl) {
glock_set_object(gl, NULL); glock_clear_object(gl, rgd);
gfs2_glock_put(gl); gfs2_glock_put(gl);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment