aboutsummaryrefslogtreecommitdiffstats
path: root/fs/hugetlbfs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/hugetlbfs')
-rw-r--r--fs/hugetlbfs/inode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/hugetlbfs/inode.c b/fs/hugetlbfs/inode.c
index 4665c26171f7..678fc72c3646 100644
--- a/fs/hugetlbfs/inode.c
+++ b/fs/hugetlbfs/inode.c
@@ -467,9 +467,9 @@ static int hugetlbfs_set_page_dirty(struct page *page)
467 return 0; 467 return 0;
468} 468}
469 469
470static int hugetlbfs_statfs(struct super_block *sb, struct kstatfs *buf) 470static int hugetlbfs_statfs(struct dentry *dentry, struct kstatfs *buf)
471{ 471{
472 struct hugetlbfs_sb_info *sbinfo = HUGETLBFS_SB(sb); 472 struct hugetlbfs_sb_info *sbinfo = HUGETLBFS_SB(dentry->d_sb);
473 473
474 buf->f_type = HUGETLBFS_MAGIC; 474 buf->f_type = HUGETLBFS_MAGIC;
475 buf->f_bsize = HPAGE_SIZE; 475 buf->f_bsize = HPAGE_SIZE;