GFS2: Banish struct gfs2_rgrpd_host
This patch moves the final field so that we can get rid of struct gfs2_rgrpd_host, as promised some time ago. Also by rearranging the fields slightly, we are able to reduce the size of the gfs2_rgrpd structure at the same time. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
This commit is contained in:
@@ -469,7 +469,7 @@ static int statfs_slow_fill(struct gfs2_rgrpd *rgd,
|
||||
gfs2_rgrp_verify(rgd);
|
||||
sc->sc_total += rgd->rd_data;
|
||||
sc->sc_free += rgd->rd_free;
|
||||
sc->sc_dinodes += rgd->rd_rg.rg_dinodes;
|
||||
sc->sc_dinodes += rgd->rd_dinodes;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user