GFS2: Move glock superblock pointer to field gl_name
[cascardo/linux.git] / fs / gfs2 / rgrp.c
index c6c6232..c92ae7f 100644 (file)
@@ -1860,7 +1860,7 @@ static void try_rgrp_unlink(struct gfs2_rgrpd *rgd, u64 *last_unlinked, u64 skip
 static bool gfs2_rgrp_congested(const struct gfs2_rgrpd *rgd, int loops)
 {
        const struct gfs2_glock *gl = rgd->rd_gl;
-       const struct gfs2_sbd *sdp = gl->gl_sbd;
+       const struct gfs2_sbd *sdp = gl->gl_name.ln_sbd;
        struct gfs2_lkstats *st;
        s64 r_dcount, l_dcount;
        s64 l_srttb, a_srttb = 0;