summaryrefslogtreecommitdiffstats
path: root/kernel/fs/overlayfs/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fs/overlayfs/super.c')
-rw-r--r--kernel/fs/overlayfs/super.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/fs/overlayfs/super.c b/kernel/fs/overlayfs/super.c
index bf8537c7f..155989455 100644
--- a/kernel/fs/overlayfs/super.c
+++ b/kernel/fs/overlayfs/super.c
@@ -517,10 +517,10 @@ static int ovl_show_options(struct seq_file *m, struct dentry *dentry)
struct super_block *sb = dentry->d_sb;
struct ovl_fs *ufs = sb->s_fs_info;
- seq_printf(m, ",lowerdir=%s", ufs->config.lowerdir);
+ seq_show_option(m, "lowerdir", ufs->config.lowerdir);
if (ufs->config.upperdir) {
- seq_printf(m, ",upperdir=%s", ufs->config.upperdir);
- seq_printf(m, ",workdir=%s", ufs->config.workdir);
+ seq_show_option(m, "upperdir", ufs->config.upperdir);
+ seq_show_option(m, "workdir", ufs->config.workdir);
}
return 0;
}