diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/shmem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/shmem.c b/mm/shmem.c index 7617bb1c6bf..10020d8b407 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 | ||
1657 | static int shmem_statfs(struct super_block *sb, struct kstatfs *buf) | 1657 | static 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; |