diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2017-08-30 14:46:24 +0200 |
---|---|---|
committer | Bob Peterson <rpeterso@redhat.com> | 2017-08-30 15:14:27 +0200 |
commit | 7023a0b16f66a2f1358c95989d23142d8191fd6e (patch) | |
tree | 9b067f4f1198d6c5852ef581df065d4c57353081 /fs/gfs2/rgrp.c | |
parent | GFS2: Fix up some sparse warnings (diff) | |
download | linux-7023a0b16f66a2f1358c95989d23142d8191fd6e.tar.xz linux-7023a0b16f66a2f1358c95989d23142d8191fd6e.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | fs/gfs2/rgrp.c | 2 |
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) rb_erase(n, &sdp->sd_rindex_tree); if (gl) { - glock_set_object(gl, NULL); + glock_clear_object(gl, rgd); gfs2_glock_put(gl); } |