@@ -1051,17 +1051,16 @@ int ovl_show_options(struct seq_file *m, struct dentry *dentry)
1051
1051
seq_printf (m , ",redirect_dir=%s" ,
1052
1052
ovl_redirect_mode (& ofs -> config ));
1053
1053
if (ofs -> config .index != ovl_index_def )
1054
- seq_printf (m , ",index=%s" , ofs -> config .index ? "on" : "off" );
1054
+ seq_printf (m , ",index=%s" , str_on_off ( ofs -> config .index ) );
1055
1055
if (ofs -> config .uuid != ovl_uuid_def ())
1056
1056
seq_printf (m , ",uuid=%s" , ovl_uuid_mode (& ofs -> config ));
1057
1057
if (ofs -> config .nfs_export != ovl_nfs_export_def )
1058
- seq_printf (m , ",nfs_export=%s" , ofs -> config . nfs_export ?
1059
- "on" : "off" );
1058
+ seq_printf (m , ",nfs_export=%s" ,
1059
+ str_on_off ( ofs -> config . nfs_export ) );
1060
1060
if (ofs -> config .xino != ovl_xino_def () && !ovl_same_fs (ofs ))
1061
1061
seq_printf (m , ",xino=%s" , ovl_xino_mode (& ofs -> config ));
1062
1062
if (ofs -> config .metacopy != ovl_metacopy_def )
1063
- seq_printf (m , ",metacopy=%s" ,
1064
- ofs -> config .metacopy ? "on" : "off" );
1063
+ seq_printf (m , ",metacopy=%s" , str_on_off (ofs -> config .metacopy ));
1065
1064
if (ofs -> config .ovl_volatile )
1066
1065
seq_puts (m , ",volatile" );
1067
1066
if (ofs -> config .userxattr )
0 commit comments