[BACK]Return to xfs_linux.h CVS log [TXT][DIR] Up to [Development] / linux-2.6-xfs / mainline-patches / linux-2.6

File: [Development] / linux-2.6-xfs / mainline-patches / linux-2.6 / xfs_linux.h (download)

Revision 1.1, Thu Dec 21 14:39:45 2006 UTC (10 years, 10 months ago) by donaldd.longdrop.melbourne.sgi.com
Branch: MAIN

Merge up to 2.6.19
Merge of 2.6.x-xfs-melb:linux:27801b by kenmcd.

Add probes for dmapi, quotas and ioops.

--- /home/chatz/isms/linux-2.6.19/fs/xfs/linux-2.6/xfs_linux.h	2006-11-30 08:57:37.000000000 +1100
+++ linux-2.6/xfs_linux.h	2006-12-15 17:48:29.000000000 +1100
@@ -109,6 +109,11 @@
 #undef  HAVE_PERCPU_SB	/* per cpu superblock counters are a 2.6 feature */
 #endif
 
+#undef HAVE_DMAPI
+#if defined(CONFIG_XFS_DMAPI) || defined(CONFIG_XFS_DMAPI_MODULE)
+#define HAVE_DMAPI
+#endif
+
 /*
  * State flag for unwritten extent buffers.
  *
@@ -125,6 +130,9 @@
 #define xfs_panic_mask		xfs_params.panic_mask.val
 #define xfs_error_level		xfs_params.error_level.val
 #define xfs_syncd_centisecs	xfs_params.syncd_timer.val
+#define xfs_probe_dmapi		xfs_params.probe_dmapi.val
+#define xfs_probe_ioops		xfs_params.probe_ioops.val
+#define xfs_probe_quota		xfs_params.probe_quota.val
 #define xfs_stats_clear		xfs_params.stats_clear.val
 #define xfs_inherit_sync	xfs_params.inherit_sync.val
 #define xfs_inherit_nodump	xfs_params.inherit_nodump.val