summaryrefslogtreecommitdiffstats
path: root/samples/statx/test-statx.c
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2018-05-10 10:24:38 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2018-05-11 01:40:51 +0200
commit74662ea5d41683e7ff723c35649b0192a8e6ba8f (patch)
tree140bd26efcb352da5b22ad1858475cae0cd83a76 /samples/statx/test-statx.c
parente3687510fce2a5b039133be8979b2c8e8cbffa67 (diff)
downloadop-kernel-dev-74662ea5d41683e7ff723c35649b0192a8e6ba8f.zip
op-kernel-dev-74662ea5d41683e7ff723c35649b0192a8e6ba8f.tar.gz
samples: bpf: rename struct bpf_map_def to avoid conflict with libbpf
Both tools/lib/bpf/libbpf.h and samples/bpf/bpf_load.h define their own version of struct bpf_map_def. The version in bpf_load.h has more fields. libbpf does not support inner maps and its definition of struct bpf_map_def lacks the related fields. Rename the definition in bpf_load.h (samples/bpf) to avoid conflicts. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'samples/statx/test-statx.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud