summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/super.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2008-11-04 11:25:13 +0100
committerSteven Whitehouse <swhiteho@redhat.com>2009-01-05 08:39:02 +0100
commitcfc8b54922db7b647b6d88914dc7ef8c63b6671d (patch)
tree27ceb908468bee50f94de44ce380fadf9e0b547a /fs/gfs2/super.c
parentGFS2: Move rg_igeneration into struct gfs2_rgrpd (diff)
downloadlinux-cfc8b54922db7b647b6d88914dc7ef8c63b6671d.tar.xz
linux-cfc8b54922db7b647b6d88914dc7ef8c63b6671d.zip
GFS2: Move rg_free from gfs2_rgrpd_host to gfs2_rgrpd
The second of three fields which need to move, in order to remove the struct gfs2_rgrpd_host. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/super.c')
-rw-r--r--fs/gfs2/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c
index f5cef2ad7ae1..e76907691ad9 100644
--- a/fs/gfs2/super.c
+++ b/fs/gfs2/super.c
@@ -468,7 +468,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_rg.rg_free;
+ sc->sc_free += rgd->rd_free;
sc->sc_dinodes += rgd->rd_rg.rg_dinodes;
return 0;
}