A subsequent patch will need to use dirname(3), declared in libgen.h. Because libgen.h is a POSIX header, the SPDK build requires that it is defined in spdk/stdinc.h, not in the file that needs it. libgen.h also declares basename() which has a conflicting declaration in string.h. A small change is required in bdev_uring_read_sysfs_attr() to accommodate this. Signed-off-by: Mike Gerdts <mgerdts@nvidia.com> Change-Id: Ib4ded2097881668aabdfd9f1683f933ce418db2e Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17557 Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
bdev_uring_rpc.c | ||
bdev_uring.c | ||
bdev_uring.h | ||
Makefile |