@@ -37,23 +37,23 @@ static __poll_t mounts_poll(struct file *file, poll_table *wait)
37
37
return res ;
38
38
}
39
39
40
- struct proc_fs_info {
40
+ struct proc_fs_opts {
41
41
int flag ;
42
42
const char * str ;
43
43
};
44
44
45
45
static int show_sb_opts (struct seq_file * m , struct super_block * sb )
46
46
{
47
- static const struct proc_fs_info fs_info [] = {
47
+ static const struct proc_fs_opts fs_opts [] = {
48
48
{ SB_SYNCHRONOUS , ",sync" },
49
49
{ SB_DIRSYNC , ",dirsync" },
50
50
{ SB_MANDLOCK , ",mand" },
51
51
{ SB_LAZYTIME , ",lazytime" },
52
52
{ 0 , NULL }
53
53
};
54
- const struct proc_fs_info * fs_infop ;
54
+ const struct proc_fs_opts * fs_infop ;
55
55
56
- for (fs_infop = fs_info ; fs_infop -> flag ; fs_infop ++ ) {
56
+ for (fs_infop = fs_opts ; fs_infop -> flag ; fs_infop ++ ) {
57
57
if (sb -> s_flags & fs_infop -> flag )
58
58
seq_puts (m , fs_infop -> str );
59
59
}
@@ -63,7 +63,7 @@ static int show_sb_opts(struct seq_file *m, struct super_block *sb)
63
63
64
64
static void show_mnt_opts (struct seq_file * m , struct vfsmount * mnt )
65
65
{
66
- static const struct proc_fs_info mnt_info [] = {
66
+ static const struct proc_fs_opts mnt_opts [] = {
67
67
{ MNT_NOSUID , ",nosuid" },
68
68
{ MNT_NODEV , ",nodev" },
69
69
{ MNT_NOEXEC , ",noexec" },
@@ -72,9 +72,9 @@ static void show_mnt_opts(struct seq_file *m, struct vfsmount *mnt)
72
72
{ MNT_RELATIME , ",relatime" },
73
73
{ 0 , NULL }
74
74
};
75
- const struct proc_fs_info * fs_infop ;
75
+ const struct proc_fs_opts * fs_infop ;
76
76
77
- for (fs_infop = mnt_info ; fs_infop -> flag ; fs_infop ++ ) {
77
+ for (fs_infop = mnt_opts ; fs_infop -> flag ; fs_infop ++ ) {
78
78
if (mnt -> mnt_flags & fs_infop -> flag )
79
79
seq_puts (m , fs_infop -> str );
80
80
}
0 commit comments