All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] btrfs-progs: convert: fix the rollback filename output
@ 2024-07-15  5:17 Qu Wenruo
  2024-07-15  5:17 ` [PATCH 1/2] btrfs-progs: convert: fix the filename output when rolling back Qu Wenruo
  2024-07-15  5:17 ` [PATCH 2/2] btrfs-progs: convert-tests: new test case to verify the rollback output Qu Wenruo
  0 siblings, 2 replies; 3+ messages in thread
From: Qu Wenruo @ 2024-07-15  5:17 UTC (permalink / raw)
  To: linux-btrfs

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-07-15  5:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-15  5:17 [PATCH 0/2] btrfs-progs: convert: fix the rollback filename output Qu Wenruo
2024-07-15  5:17 ` [PATCH 1/2] btrfs-progs: convert: fix the filename output when rolling back Qu Wenruo
2024-07-15  5:17 ` [PATCH 2/2] btrfs-progs: convert-tests: new test case to verify the rollback output Qu Wenruo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.