aboutsummaryrefslogtreecommitdiffstats
path: root/mm/shmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/shmem.c')
-rw-r--r--mm/shmem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/shmem.c b/mm/shmem.c
index 7617bb1c6bf7..10020d8b4073 100644
--- a/mm/shmem.c
+++ b/mm/shmem.c
@@ -1654,9 +1654,9 @@ static ssize_t shmem_file_sendfile(struct file *in_file, loff_t *ppos,
1654 return desc.error; 1654 return desc.error;
1655} 1655}
1656 1656
1657static int shmem_statfs(struct super_block *sb, struct kstatfs *buf) 1657static int shmem_statfs(struct dentry *dentry, struct kstatfs *buf)
1658{ 1658{
1659 struct shmem_sb_info *sbinfo = SHMEM_SB(sb); 1659 struct shmem_sb_info *sbinfo = SHMEM_SB(dentry->d_sb);
1660 1660
1661 buf->f_type = TMPFS_MAGIC; 1661 buf->f_type = TMPFS_MAGIC;
1662 buf->f_bsize = PAGE_CACHE_SIZE; 1662 buf->f_bsize = PAGE_CACHE_SIZE;