mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:44:45 +01:00
xfs: move the remaining content from xfs.h to xfs_platform.h
Move the global defines from xfs.h to xfs_platform.h to prepare for removing xfs.h. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Carlos Maiolino <cem@kernel.org>
This commit is contained in:
parent
501a5161d2
commit
19a46f1246
2 changed files with 16 additions and 17 deletions
17
fs/xfs/xfs.h
17
fs/xfs/xfs.h
|
|
@ -6,23 +6,6 @@
|
|||
#ifndef __XFS_H__
|
||||
#define __XFS_H__
|
||||
|
||||
#ifdef CONFIG_XFS_DEBUG
|
||||
#define DEBUG 1
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_XFS_DEBUG_EXPENSIVE
|
||||
#define DEBUG_EXPENSIVE 1
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_XFS_ASSERT_FATAL
|
||||
#define XFS_ASSERT_FATAL 1
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_XFS_WARN
|
||||
#define XFS_WARN 1
|
||||
#endif
|
||||
|
||||
|
||||
#include "xfs_platform.h"
|
||||
|
||||
#endif /* __XFS_H__ */
|
||||
|
|
|
|||
|
|
@ -57,6 +57,22 @@
|
|||
#include <asm/byteorder.h>
|
||||
#include <linux/unaligned.h>
|
||||
|
||||
#ifdef CONFIG_XFS_DEBUG
|
||||
#define DEBUG 1
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_XFS_DEBUG_EXPENSIVE
|
||||
#define DEBUG_EXPENSIVE 1
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_XFS_ASSERT_FATAL
|
||||
#define XFS_ASSERT_FATAL 1
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_XFS_WARN
|
||||
#define XFS_WARN 1
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Kernel specific type declarations for XFS
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue