summaryrefslogtreecommitdiffstats
path: root/kernel/fs/ocfs2/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fs/ocfs2/super.c')
-rw-r--r--kernel/fs/ocfs2/super.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/fs/ocfs2/super.c b/kernel/fs/ocfs2/super.c
index 403c5660b..a482e312c 100644
--- a/kernel/fs/ocfs2/super.c
+++ b/kernel/fs/ocfs2/super.c
@@ -1550,8 +1550,8 @@ static int ocfs2_show_options(struct seq_file *s, struct dentry *root)
seq_printf(s, ",localflocks,");
if (osb->osb_cluster_stack[0])
- seq_printf(s, ",cluster_stack=%.*s", OCFS2_STACK_LABEL_LEN,
- osb->osb_cluster_stack);
+ seq_show_option_n(s, "cluster_stack", osb->osb_cluster_stack,
+ OCFS2_STACK_LABEL_LEN);
if (opts & OCFS2_MOUNT_USRQUOTA)
seq_printf(s, ",usrquota");
if (opts & OCFS2_MOUNT_GRPQUOTA)