From: Christoph Hellwig Date: Fri, 19 Dec 2025 05:41:44 +0000 (+0100) Subject: xfs: rename xfs_linux.h to xfs_platform.h X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=971ffb634113474add7c3adb07c1ea03110e7844;p=thirdparty%2Flinux.git xfs: rename xfs_linux.h to xfs_platform.h Rename xfs_linux.h to prepare for including including it directly from source files including those shared with xfsprogs. Signed-off-by: Christoph Hellwig Reviewed-by: Darrick J. Wong Signed-off-by: Carlos Maiolino --- diff --git a/fs/xfs/xfs.h b/fs/xfs/xfs.h index 9355ccad9503b..b335a471c0887 100644 --- a/fs/xfs/xfs.h +++ b/fs/xfs/xfs.h @@ -23,6 +23,6 @@ #endif -#include "xfs_linux.h" +#include "xfs_platform.h" #endif /* __XFS_H__ */ diff --git a/fs/xfs/xfs_linux.h b/fs/xfs/xfs_platform.h similarity index 98% rename from fs/xfs/xfs_linux.h rename to fs/xfs/xfs_platform.h index 4dd747bdbccab..ec8cd71fc868e 100644 --- a/fs/xfs/xfs_linux.h +++ b/fs/xfs/xfs_platform.h @@ -3,8 +3,8 @@ * Copyright (c) 2000-2005 Silicon Graphics, Inc. * All Rights Reserved. */ -#ifndef __XFS_LINUX__ -#define __XFS_LINUX__ +#ifndef _XFS_PLATFORM_H +#define _XFS_PLATFORM_H #include #include @@ -281,4 +281,4 @@ kmem_to_page(void *addr) return virt_to_page(addr); } -#endif /* __XFS_LINUX__ */ +#endif /* _XFS_PLATFORM_H */