Re: [PATCH 1/3] btrfs-progs: use btrfs_key for btrfs_check_node() and btrfs_check_leaf()

David Sterba
2021-09-03T14:02:13Z

On Thu, Sep 02, 2021 at 09:08:41PM +0800, Qu Wenruo wrote:
> In kernel space we hardly use btrfs_disk_key, unless for very lowlevel
> code.
>
> There is no need to intentionally use btrfs_disk_key in btrfs-progs
> either.
>
> Signed-off-by: Qu Wenruo <wqu@suse.com>

This fails on fsck/001 test

[TEST/fsck] 001-bad-file-extent-bytenr
failed to restore image ./default_case.img
basename: missing operand
Try 'basename --help' for more information.
failed: /labs/dsterba/gits/btrfs-progs/btrfs check --repair --force
make: *** [Makefile:413: test-fsck] Error 1