Skip to content

btrfs-progs: convert: fix the rollback filename output

Qu Wenruo linux-btrfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs-progs: convert: fix the filename output when rolling backconvert/main.c+1 -10 replies
2/2btrfs-progs: convert-tests: new test case to verify the rollback outputtests/convert-tests/026-rollback-output/test.sh+26 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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