Skip to content

Commit

Permalink
GFS2: Fix gl_object warnings
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Andreas Gruenbacher authored and AstralBob committed Aug 30, 2017
1 parent 27c3b41 commit 7023a0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/gfs2/rgrp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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_put(gl);
}

Expand Down

0 comments on commit 7023a0b

Please sign in to comment.