summaryrefslogtreecommitdiff
path: root/fs/xfs/scrub/ialloc.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2025-12-19 06:41:47 +0100
committerCarlos Maiolino <cem@kernel.org>2026-01-21 12:57:16 +0100
commitcf9b52fa7d65362b648927d1d752ec99659f5c43 (patch)
tree44342c99226ddd134842187e0939696061434b4c /fs/xfs/scrub/ialloc.c
parent19a46f12466993c1227276cd934a1eb8071a24cb (diff)
downloadlinux-next-cf9b52fa7d65362b648927d1d752ec99659f5c43.tar.gz
linux-next-cf9b52fa7d65362b648927d1d752ec99659f5c43.zip
xfs: directly include xfs_platform.h
The xfs.h header conflicts with the public xfs.h in xfsprogs, leading to a spurious difference in all shared libxfs files that have to include libxfs_priv.h in userspace. Directly include xfs_platform.h so that we can add a header of the same name to xfsprogs and remove this major annoyance for the shared code. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'fs/xfs/scrub/ialloc.c')
-rw-r--r--fs/xfs/scrub/ialloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/scrub/ialloc.c b/fs/xfs/scrub/ialloc.c
index 4dc7c83dc08a..911dc0f9a79d 100644
--- a/fs/xfs/scrub/ialloc.c
+++ b/fs/xfs/scrub/ialloc.c
@@ -3,7 +3,7 @@
* Copyright (C) 2017-2023 Oracle. All Rights Reserved.
* Author: Darrick J. Wong <djwong@kernel.org>
*/
-#include "xfs.h"
+#include "xfs_platform.h"
#include "xfs_fs.h"
#include "xfs_shared.h"
#include "xfs_format.h"