[Cluster-devel] [PATCH 25/29] GFS2: Fix gl_object warnings
Bob Peterson
rpeterso at redhat.com
Mon Sep 4 02:51:13 UTC 2017
From: Andreas Gruenbacher <agruenba at redhat.com>
The following cleanup is needed to avoid spilling the syslog with
false warnings.
Signed-off-by: Andreas Gruenbacher <agruenba at redhat.com>
Signed-off-by: Bob Peterson <rpeterso at redhat.com>
---
fs/gfs2/rgrp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)
rb_erase(n, &sdp->sd_rindex_tree);
if (gl) {
- glock_set_object(gl, NULL);
+ glock_clear_object(gl, rgd);
gfs2_glock_put(gl);
}
--
2.13.5
More information about the Cluster-devel
mailing list