mbox series

[0/2] btrfs-progs: fix the uuid report in "btrfs subvolume list -u"

Message ID cover.1672120480.git.wqu@suse.com (mailing list archive)
Headers show
Series btrfs-progs: fix the uuid report in "btrfs subvolume list -u" | expand

Message

Qu Wenruo Dec. 27, 2022, 5:55 a.m. UTC
There is a regression caused by commit d729048be6ef ("btrfs-progs: stop
using btrfs_root_item_v0").

Just fix it and add a simple test case for it.

Qu Wenruo (2):
  btrfs-progs: fix the wrong timestamp and UUID check for root items
  btrfs-progs: misc-tests: add a test case to make sure uuid is
    correctly  reported

 cmds/subvolume-list.c                         | 11 ++++++--
 .../056-subvolume-list-uuid/test.sh           | 28 +++++++++++++++++++
 2 files changed, 37 insertions(+), 2 deletions(-)
 create mode 100755 tests/misc-tests/056-subvolume-list-uuid/test.sh

Comments

David Sterba Jan. 2, 2023, 1:02 p.m. UTC | #1
On Tue, Dec 27, 2022 at 01:55:06PM +0800, Qu Wenruo wrote:
> There is a regression caused by commit d729048be6ef ("btrfs-progs: stop
> using btrfs_root_item_v0").
> 
> Just fix it and add a simple test case for it.
> 
> Qu Wenruo (2):
>   btrfs-progs: fix the wrong timestamp and UUID check for root items
>   btrfs-progs: misc-tests: add a test case to make sure uuid is
>     correctly  reported

Added to devel, thanks.