xfs
[Top] [All Lists]

[patch 03/22] remove unused behvavior cruft in xfs_super.h

To: xfs@xxxxxxxxxxx
Subject: [patch 03/22] remove unused behvavior cruft in xfs_super.h
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Tue, 02 Dec 2008 11:04:33 -0500
References: <20081202160430.775774000@xxxxxxxxxxxxxxxxxxxxxx>
User-agent: quilt/0.46-1
Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Index: xfs-master/fs/xfs/linux-2.6/xfs_super.h
===================================================================
--- xfs-master.orig/fs/xfs/linux-2.6/xfs_super.h        2008-12-02 
11:21:33.000000000 +0100
+++ xfs-master/fs/xfs/linux-2.6/xfs_super.h     2008-12-02 11:21:49.000000000 
+0100
@@ -20,24 +20,12 @@
 
 #include <linux/exportfs.h>
 
-#ifdef CONFIG_XFS_DMAPI
-# define vfs_insertdmapi(vfs)  vfs_insertops(vfsp, &xfs_dmops)
-# define vfs_initdmapi()       dmapi_init()
-# define vfs_exitdmapi()       dmapi_uninit()
-#else
-# define vfs_insertdmapi(vfs)  do { } while (0)
-# define vfs_initdmapi()       do { } while (0)
-# define vfs_exitdmapi()       do { } while (0)
-#endif
-
 #ifdef CONFIG_XFS_QUOTA
-# define vfs_insertquota(vfs)  vfs_insertops(vfsp, &xfs_qmops)
 extern void xfs_qm_init(void);
 extern void xfs_qm_exit(void);
 # define vfs_initquota()       xfs_qm_init()
 # define vfs_exitquota()       xfs_qm_exit()
 #else
-# define vfs_insertquota(vfs)  do { } while (0)
 # define vfs_initquota()       do { } while (0)
 # define vfs_exitquota()       do { } while (0)
 #endif

-- 

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