summaryrefslogtreecommitdiffstats
path: root/kernel/fs/ceph/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fs/ceph/super.c')
-rw-r--r--kernel/fs/ceph/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fs/ceph/super.c b/kernel/fs/ceph/super.c
index 4e9905374..0d47422e3 100644
--- a/kernel/fs/ceph/super.c
+++ b/kernel/fs/ceph/super.c
@@ -466,7 +466,7 @@ static int ceph_show_options(struct seq_file *m, struct dentry *root)
if (fsopt->max_readdir_bytes != CEPH_MAX_READDIR_BYTES_DEFAULT)
seq_printf(m, ",readdir_max_bytes=%d", fsopt->max_readdir_bytes);
if (strcmp(fsopt->snapdir_name, CEPH_SNAPDIRNAME_DEFAULT))
- seq_printf(m, ",snapdirname=%s", fsopt->snapdir_name);
+ seq_show_option(m, "snapdirname", fsopt->snapdir_name);
return 0;
}