Skip to content

Commit c72b6b7

Browse files
josefbacikbrauner
authored andcommitted
fs: rename show_mnt_opts -> show_vfsmnt_opts
This name is more consistent with what the helper does, which is to just show the vfsmount options. Signed-off-by: Josef Bacik <[email protected]> Link: https://lore.kernel.org/r/fb363c62ffbf78a18095d596a19b8412aa991251.1719257716.git.josef@toxicpanda.com Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
1 parent d842379 commit c72b6b7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

fs/proc_namespace.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ static int show_sb_opts(struct seq_file *m, struct super_block *sb)
6161
return security_sb_show_options(m, sb);
6262
}
6363

64-
static void show_mnt_opts(struct seq_file *m, struct vfsmount *mnt)
64+
static void show_vfsmnt_opts(struct seq_file *m, struct vfsmount *mnt)
6565
{
6666
static const struct proc_fs_opts mnt_opts[] = {
6767
{ MNT_NOSUID, ",nosuid" },
@@ -124,7 +124,7 @@ static int show_vfsmnt(struct seq_file *m, struct vfsmount *mnt)
124124
err = show_sb_opts(m, sb);
125125
if (err)
126126
goto out;
127-
show_mnt_opts(m, mnt);
127+
show_vfsmnt_opts(m, mnt);
128128
if (sb->s_op->show_options)
129129
err = sb->s_op->show_options(m, mnt_path.dentry);
130130
seq_puts(m, " 0 0\n");
@@ -153,7 +153,7 @@ static int show_mountinfo(struct seq_file *m, struct vfsmount *mnt)
153153
goto out;
154154

155155
seq_puts(m, mnt->mnt_flags & MNT_READONLY ? " ro" : " rw");
156-
show_mnt_opts(m, mnt);
156+
show_vfsmnt_opts(m, mnt);
157157

158158
/* Tagged fields ("foo:X" or "bar") */
159159
if (IS_MNT_SHARED(r))

0 commit comments

Comments
 (0)