diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2008-11-04 10:32:57 +0000 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2009-01-05 07:39:03 +0000 |
commit | 73f749483ed18f3b5759909cc4187b1741f54b10 (patch) | |
tree | 67acf16f388e35861f6e1c998fa5e049af98f4d0 /fs/gfs2/super.c | |
parent | cfc8b54922db7b647b6d88914dc7ef8c63b6671d (diff) | |
download | linux-73f749483ed18f3b5759909cc4187b1741f54b10.tar.gz linux-73f749483ed18f3b5759909cc4187b1741f54b10.tar.bz2 linux-73f749483ed18f3b5759909cc4187b1741f54b10.zip |
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>
Diffstat (limited to 'fs/gfs2/super.c')
-rw-r--r-- | fs/gfs2/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c index e76907691ad9..b85877062a48 100644 --- a/fs/gfs2/super.c +++ b/fs/gfs2/super.c @@ -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; } |