aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2/ops_super.c')
-rw-r--r--fs/gfs2/ops_super.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/gfs2/ops_super.c b/fs/gfs2/ops_super.c
index 5f5fc3c42907..50ea7f21f9cf 100644
--- a/fs/gfs2/ops_super.c
+++ b/fs/gfs2/ops_super.c
@@ -202,8 +202,9 @@ static void gfs2_unlockfs(struct super_block *sb)
202 * Returns: 0 on success or error code 202 * Returns: 0 on success or error code
203 */ 203 */
204 204
205static int gfs2_statfs(struct super_block *sb, struct kstatfs *buf) 205static int gfs2_statfs(struct dentry *dentry, struct kstatfs *buf)
206{ 206{
207 struct super_block *sb = dentry->d_inode->i_sb;
207 struct gfs2_sbd *sdp = sb->s_fs_info; 208 struct gfs2_sbd *sdp = sb->s_fs_info;
208 struct gfs2_statfs_change sc; 209 struct gfs2_statfs_change sc;
209 int error; 210 int error;