]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_io: rework includes for statx structures
authorEric Sandeen <sandeen@redhat.com>
Fri, 3 May 2019 16:51:37 +0000 (11:51 -0500)
committerEric Sandeen <sandeen@redhat.com>
Fri, 3 May 2019 16:51:37 +0000 (11:51 -0500)
commit868d0cce41645d5a240a7728cdf33b074b3d01f0
tree598d6b9318f4a97e91c0ab526487c649ec0ac662
parent0ac79a58a20c45e9691dd386d52e5f29fc40c173
xfs_io: rework includes for statx structures

Only include the kernel's linux/stat.h headers if we haven't
already picked up statx bits from glibc, to avoid redefinition.

Suggested-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Tested-by: Bill O'Donnell <billodo@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Bill O'Donnell <billodo@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
io/stat.c
io/statx.h