Skip to content

Commit

Permalink
[GFS2] API change for gfs2_statfs
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Steven Whitehouse committed Jul 3, 2006
1 parent ccd6efd commit 0c0834a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fs/gfs2/ops_super.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0c0834a

Please sign in to comment.