aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/gfs2/rgrp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/rgrp.c b/fs/gfs2/rgrp.c
index 29fbeee36fa6..95b2a57ded33 100644
--- a/fs/gfs2/rgrp.c
+++ b/fs/gfs2/rgrp.c
@@ -705,7 +705,7 @@ void gfs2_clear_rgrpd(struct gfs2_sbd *sdp)
705 rb_erase(n, &sdp->sd_rindex_tree); 705 rb_erase(n, &sdp->sd_rindex_tree);
706 706
707 if (gl) { 707 if (gl) {
708 glock_set_object(gl, NULL); 708 glock_clear_object(gl, rgd);
709 gfs2_glock_put(gl); 709 gfs2_glock_put(gl);
710 } 710 }
711 711