diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2006-07-03 11:38:01 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-07-03 11:38:01 -0400 |
commit | 0c0834a30cceeaf2748705d2b31f0d058693b716 (patch) | |
tree | c4c5d248af1554e0ea36b4ed610c6cd7661dc9aa /fs/gfs2/ops_super.c | |
parent | ccd6efd0cd1244d5d4404393576c37f269de4c5a (diff) | |
download | blackbird-op-linux-0c0834a30cceeaf2748705d2b31f0d058693b716.tar.gz blackbird-op-linux-0c0834a30cceeaf2748705d2b31f0d058693b716.zip |
[GFS2] API change for gfs2_statfs
The kernel API for super_operations->statfs() has changed
so this updates GFS2 to the new API.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/ops_super.c')
-rw-r--r-- | fs/gfs2/ops_super.c | 3 |
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) * Returns: 0 on success or error code */ -static int gfs2_statfs(struct super_block *sb, struct kstatfs *buf) +static int gfs2_statfs(struct dentry *dentry, struct kstatfs *buf) { + struct super_block *sb = dentry->d_inode->i_sb; struct gfs2_sbd *sdp = sb->s_fs_info; struct gfs2_statfs_change sc; int error; |