diff options
Diffstat (limited to 'fs/gfs2/ops_super.c')
-rw-r--r-- | fs/gfs2/ops_super.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/gfs2/ops_super.c b/fs/gfs2/ops_super.c index 730c7228f6ad..2e392c994ab1 100644 --- a/fs/gfs2/ops_super.c +++ b/fs/gfs2/ops_super.c | |||
@@ -216,8 +216,6 @@ static int gfs2_statfs(struct dentry *dentry, struct kstatfs *buf) | |||
216 | if (error) | 216 | if (error) |
217 | return error; | 217 | return error; |
218 | 218 | ||
219 | memset(buf, 0, sizeof(struct kstatfs)); | ||
220 | |||
221 | buf->f_type = GFS2_MAGIC; | 219 | buf->f_type = GFS2_MAGIC; |
222 | buf->f_bsize = sdp->sd_sb.sb_bsize; | 220 | buf->f_bsize = sdp->sd_sb.sb_bsize; |
223 | buf->f_blocks = sc.sc_total; | 221 | buf->f_blocks = sc.sc_total; |