]> Pileus Git - ~andy/linux/blobdiff - fs/gfs2/rgrp.c
GFS2: Alter point of entry to glock lru list for glocks with an address_space
[~andy/linux] / fs / gfs2 / rgrp.c
index b643c14caff98c463daa057738e35658941cfd3b..7273ad3c85ba4d41d6ef339648444e5fc4d3cc4f 100644 (file)
@@ -392,6 +392,7 @@ static void clear_rgrpdi(struct gfs2_sbd *sdp)
 
                if (gl) {
                        gl->gl_object = NULL;
+                       gfs2_glock_add_to_lru(gl);
                        gfs2_glock_put(gl);
                }