1 /* 2 * Copyright (c) 2000-2003,2005 Silicon Graphics, Inc. 3 * All Rights Reserved. 4 * 5 * This program is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU General Public License as 7 * published by the Free Software Foundation. 8 * 9 * This program is distributed in the hope that it would be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 13 * 14 * You should have received a copy of the GNU General Public License 15 * along with this program; if not, write the Free Software Foundation, 16 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 */ 18 #ifndef __XFS_H__ 19 #define __XFS_H__ 20 21 #ifdef CONFIG_XFS_DEBUG 22 #define STATIC 23 #define DEBUG 1 24 #define XFS_BUF_LOCK_TRACKING 1 25 /* #define QUOTADEBUG 1 */ 26 #endif 27 28 #ifdef CONFIG_XFS_TRACE 29 #define XFS_ALLOC_TRACE 1 30 #define XFS_ATTR_TRACE 1 31 #define XFS_BLI_TRACE 1 32 #define XFS_BMAP_TRACE 1 33 #define XFS_BTREE_TRACE 1 34 #define XFS_DIR2_TRACE 1 35 #define XFS_DQUOT_TRACE 1 36 #define XFS_ILOCK_TRACE 1 37 #define XFS_LOG_TRACE 1 38 #define XFS_RW_TRACE 1 39 #define XFS_BUF_TRACE 1 40 #define XFS_INODE_TRACE 1 41 #define XFS_FILESTREAMS_TRACE 1 42 #endif 43 44 #include <linux-2.6/xfs_linux.h> 45 #endif /* __XFS_H__ */ 46