Skip to content

daemon/graphdriver/btrfs/btrfs.go args.lim.max_referenced undefined #44698

@s4uliu5

Description

@s4uliu5

Description

While building docker-20.10.22 on Funtoo linux with btrfs-progs 6.1, got this error

daemon/graphdriver/btrfs/btrfs.go:437:11: args.lim.max_referenced undefined (type _Ctype_struct_btrfs_qgroup_limit has no field or method max_referenced)

Reproduce

  1. extract source
  2. hack/make.sh dynbinary

Expected behavior

Build not fail.

docker version

Not relevant.

docker info

Not relevant.

Additional Info

Only fails with btrfs-progs 6.1, with previous versions (6.0.x) builds ok.

IMHO the change of btrfs-progs that caused this affect is

kdave/btrfs-progs@0345143

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/kernelarea/storage/btrfskind/bugBugs are bugs. The cause may or may not be known at triage time so debugging may be needed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions