xfs
[Top] [All Lists]

[PATCH] fs/xfs: Remove dead CONFIG_XFS_DMAPI

To: Alex Elder <aelder@xxxxxxx>, xfs-masters@xxxxxxxxxxx, Stephen Hemminger <shemminger@xxxxxxxxxx>, Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>, Alexey Dobriyan <adobriyan@xxxxxxxxx>, Al Viro <viro@xxxxxxxxxxxxxxxxxx>, xfs@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
Subject: [PATCH] fs/xfs: Remove dead CONFIG_XFS_DMAPI
From: Christian Dietrich <qy03fugy@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 21 Jul 2010 13:36:47 +0200
Cc: vamos-dev@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
CONFIG_XFS_DMAPI doesn't exist in Kconfig and is never defined anywhere
else, therefore removing all references for it from the source
code. Because XFS_DMAPI is never defined, XFS_DMAPI_STRING is always
an empty string. So we can remove all references to it.

Signed-off-by: Christian Dietrich <qy03fugy@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
---
 fs/xfs/linux-2.6/xfs_super.h |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/fs/xfs/linux-2.6/xfs_super.h b/fs/xfs/linux-2.6/xfs_super.h
index 519618e..1ef4a4d 100644
--- a/fs/xfs/linux-2.6/xfs_super.h
+++ b/fs/xfs/linux-2.6/xfs_super.h
@@ -56,12 +56,6 @@ extern void xfs_qm_exit(void);
 # define XFS_BIGFS_STRING
 #endif
 
-#ifdef CONFIG_XFS_DMAPI
-# define XFS_DMAPI_STRING      "dmapi support, "
-#else
-# define XFS_DMAPI_STRING
-#endif
-
 #ifdef DEBUG
 # define XFS_DBG_STRING                "debug"
 #else
@@ -72,7 +66,6 @@ extern void xfs_qm_exit(void);
                                XFS_SECURITY_STRING \
                                XFS_REALTIME_STRING \
                                XFS_BIGFS_STRING \
-                               XFS_DMAPI_STRING \
                                XFS_DBG_STRING /* DBG must be last */
 
 struct xfs_inode;
-- 
1.7.0.4

<Prev in Thread] Current Thread [Next in Thread>