mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 16:41:25 +00:00
GFS2: Fix gl_object warnings
The following cleanup is needed to avoid spilling the syslog with false warnings. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Signed-off-by: Bob Peterson <rpeterso@redhat.com>
This commit is contained in:
parent
27c3b415f6
commit
7023a0b16f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue