FS#69785 - [btrfs-progs] device add broken for dm devices on btrfs-progs v5.10.1

Attached to Project: Arch Linux
Opened by Tavian Barnes (tavianator) - Thursday, 25 February 2021, 20:25 GMT
Last edited by Sébastien Luttringer (seblu) - Friday, 26 February 2021, 13:29 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Sébastien Luttringer (seblu)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



btrfs device add /dev/dm-<anything> is broken since btrfs-progs v5.10.1, due to a typo when renaming functions: https://github.com/kdave/btrfs-progs/commit/922eaa7b5472ef2b5328c71fa54868bcbb97f7ac#r46945148

Additional info:

This is upstream bug https://github.com/kdave/btrfs-progs/issues/339.
It may be worth integrating this patch until an upstream release is made with it: https://github.com/kdave/btrfs-progs/commit/dcfda5527538993dc7b2291cb9b9b9967f3b3c4a

Steps to reproduce:

btrfs device add /dev/dm-1 /path/to/btrfs/mount
This task depends upon

Closed by  Sébastien Luttringer (seblu)
Friday, 26 February 2021, 13:29 GMT
Reason for closing:  Fixed
Additional comments about closing:  btrfs-progs-5.10.1-2