aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-12-08 21:32:45 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-06 23:19:54 -0500
commit34c80b1d93e6e20ca9dea0baf583a5b5510d92d4 (patch)
tree7dcbf0a4e09464247e6992c8f44fcc872867bd3a /mm
parenta6322de67b58a00e3a783ad9c87c2a11b2d67b47 (diff)
vfs: switch ->show_options() to struct dentry *
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
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",