fs: create and use seq_show_option for escaping
[pandora-kernel.git] / fs / hostfs / hostfs_kern.c
index 2f72da5..104e4d9 100644 (file)
@@ -265,7 +265,7 @@ static int hostfs_show_options(struct seq_file *seq, struct vfsmount *vfs)
        size_t offset = strlen(root_ino) + 1;
 
        if (strlen(root_path) > offset)
-               seq_printf(seq, ",%s", root_path + offset);
+               seq_show_option(seq, root_path + offset, NULL);
 
        return 0;
 }