]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
xfs: rename xfs_linux.h to xfs_platform.h
authorChristoph Hellwig <hch@lst.de>
Fri, 19 Dec 2025 05:41:44 +0000 (06:41 +0100)
committerCarlos Maiolino <cem@kernel.org>
Wed, 21 Jan 2026 11:57:16 +0000 (12:57 +0100)
Rename xfs_linux.h to prepare for including including it directly
from source files including those shared with xfsprogs.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/xfs.h
fs/xfs/xfs_platform.h [moved from fs/xfs/xfs_linux.h with 98% similarity]

index 9355ccad9503bd4aa29e6547cd920a8de3e57e70..b335a471c088762830642fb3d93f07e9b3842647 100644 (file)
@@ -23,6 +23,6 @@
 #endif
 
 
-#include "xfs_linux.h"
+#include "xfs_platform.h"
 
 #endif /* __XFS_H__ */
similarity index 98%
rename from fs/xfs/xfs_linux.h
rename to fs/xfs/xfs_platform.h
index 4dd747bdbccab27fd76fd4eff6d6113b2ed36ae1..ec8cd71fc868ee114ef4c535829305e15f61f714 100644 (file)
@@ -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 <linux/types.h>
 #include <linux/uuid.h>
@@ -281,4 +281,4 @@ kmem_to_page(void *addr)
        return virt_to_page(addr);
 }
 
-#endif /* __XFS_LINUX__ */
+#endif /* _XFS_PLATFORM_H */