aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
Diffstat (limited to 'mm')
-rw-r--r--mm/shmem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/shmem.c b/mm/shmem.c
index 86a19efc36fb..feead1943d92 100644
--- a/mm/shmem.c
+++ b/mm/shmem.c
@@ -2118,9 +2118,9 @@ out:
2118 return error; 2118 return error;
2119} 2119}
2120 2120
2121static int shmem_show_options(struct seq_file *seq, struct vfsmount *vfs) 2121static int shmem_show_options(struct seq_file *seq, struct dentry *root)
2122{ 2122{
2123 struct shmem_sb_info *sbinfo = SHMEM_SB(vfs->mnt_sb); 2123 struct shmem_sb_info *sbinfo = SHMEM_SB(root->d_sb);
2124 2124
2125 if (sbinfo->max_blocks != shmem_default_max_blocks()) 2125 if (sbinfo->max_blocks != shmem_default_max_blocks())
2126 seq_printf(seq, ",size=%luk", 2126 seq_printf(seq, ",size=%luk",