diff options
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_super.c')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_super.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/linux-2.6/xfs_super.c b/fs/xfs/linux-2.6/xfs_super.c index d03c89a36655..4fb0fc65af34 100644 --- a/fs/xfs/linux-2.6/xfs_super.c +++ b/fs/xfs/linux-2.6/xfs_super.c | |||
@@ -684,10 +684,10 @@ xfs_fs_sync_super( | |||
684 | 684 | ||
685 | STATIC int | 685 | STATIC int |
686 | xfs_fs_statfs( | 686 | xfs_fs_statfs( |
687 | struct super_block *sb, | 687 | struct dentry *dentry, |
688 | struct kstatfs *statp) | 688 | struct kstatfs *statp) |
689 | { | 689 | { |
690 | return -bhv_vfs_statvfs(vfs_from_sb(sb), statp, NULL); | 690 | return -bhv_vfs_statvfs(vfs_from_sb(dentry->d_sb), statp, NULL); |
691 | } | 691 | } |
692 | 692 | ||
693 | STATIC int | 693 | STATIC int |