mbox series

[0/2] btrfs-progs: convert: fix the rollback filename output

Message ID cover.1721020542.git.wqu@suse.com (mailing list archive)
Headers show
Series btrfs-progs: convert: fix the rollback filename output | expand

Message

Qu Wenruo July 15, 2024, 5:17 a.m. UTC
When testing my newer version of subvolume creation cleanup (which
removes btrfs_mksubvol(), utilized by convert), I found out that
"btrfs-convert -r" output is always corrupted.

It turns out to be a small string termination problem.

The first patch fixes it, then a new test case for it.

Qu Wenruo (2):
  btrfs-progs: convert: fix the filename output when rolling back
  btrfs-progs: convert-tests: new test case to verify the rollback
    output

 convert/main.c                                |  2 +-
 .../convert-tests/026-rollback-output/test.sh | 26 +++++++++++++++++++
 2 files changed, 27 insertions(+), 1 deletion(-)
 create mode 100755 tests/convert-tests/026-rollback-output/test.sh

--
2.45.2