blk-mq-debugfs: separate flags with |

This reads more naturally than spaces.

Signed-off-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
This commit is contained in:
Omar Sandoval 2017-05-04 00:31:23 -07:00 committed by Jens Axboe
parent 9052c7cf49
commit bec03d6b92

View File

@ -53,7 +53,7 @@ static int blk_flags_show(struct seq_file *m, const unsigned long flags,
if (!(flags & BIT(i))) if (!(flags & BIT(i)))
continue; continue;
if (sep) if (sep)
seq_puts(m, " "); seq_puts(m, "|");
sep = true; sep = true;
if (i < flag_name_count && flag_name[i]) if (i < flag_name_count && flag_name[i])
seq_puts(m, flag_name[i]); seq_puts(m, flag_name[i]);