]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: fix incorrect show_options results
authorHongbo Li <lihongbo22@huawei.com>
Thu, 26 Sep 2024 02:00:01 +0000 (10:00 +0800)
committerKent Overstreet <kent.overstreet@linux.dev>
Fri, 18 Oct 2024 04:49:48 +0000 (00:49 -0400)
commit07cf8bac2d3efa8d3fb62cd4d98c00087efd7fe8
treeebe59f02b17575fdf7d526d9c55d9299aec06302
parent97535cd84f189248ea0fe14544628d480908e99b
bcachefs: fix incorrect show_options results

When call show_options in bcachefs, the options buffer is appeneded
to the seq variable. In fact, it requires an additional comma to be
appended first. This will affect the remount process when reading
existing mount options.

Fixes: 9305cf91d05e ("bcachefs: bch2_opts_to_text()")
Signed-off-by: Hongbo Li <lihongbo22@huawei.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/fs.c