From 971ffb634113474add7c3adb07c1ea03110e7844 Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Fri, 19 Dec 2025 06:41:44 +0100 Subject: [PATCH] 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 --- fs/xfs/xfs.h | 2 +- fs/xfs/{xfs_linux.h => xfs_platform.h} | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) rename fs/xfs/{xfs_linux.h => xfs_platform.h} (98%) 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 */ -- 2.47.3