Skip to content

Commit 7023a0b

Browse files
Andreas GruenbacherAstralBob
authored andcommitted
GFS2: Fix gl_object warnings
The following cleanup is needed to avoid spilling the syslog with false warnings. Signed-off-by: Andreas Gruenbacher <[email protected]> Signed-off-by: Bob Peterson <[email protected]>
1 parent 27c3b41 commit 7023a0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/gfs2/rgrp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ void gfs2_clear_rgrpd(struct gfs2_sbd *sdp)
705705
rb_erase(n, &sdp->sd_rindex_tree);
706706

707707
if (gl) {
708-
glock_set_object(gl, NULL);
708+
glock_clear_object(gl, rgd);
709709
gfs2_glock_put(gl);
710710
}
711711

0 commit comments

Comments
 (0)