There are two bug in show_options. The one is when printbuf
is allocated failed, no need to copy buffer to seq. Another
is when the option is filled into seqfile, an additional comma
should be appended first. Considering these are two distinct
issues, they have been divided into two separate commits here.

Changes since v1:
  - Put the two related patches together and do the rebase.
  - Adjust the commit msg ahout Fixes tag.

Hongbo Li (2):
  bcachefs: avoid copy from NULL printbuf
  bcachefs: fix incorrect show_options results

 fs/bcachefs/fs.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

-- 
2.34.1


Reply via email to