[PATCH 6.12 016/122] btrfs: add the missing error handling inside get_canonical_dev_path