Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
Nathan Scott | 7b71876 | 2005-11-02 14:58:39 +1100 | [diff] [blame] | 2 | * Copyright (c) 2000-2003,2005 Silicon Graphics, Inc. |
| 3 | * All Rights Reserved. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | * |
Nathan Scott | 7b71876 | 2005-11-02 14:58:39 +1100 | [diff] [blame] | 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 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | * published by the Free Software Foundation. |
| 8 | * |
Nathan Scott | 7b71876 | 2005-11-02 14:58:39 +1100 | [diff] [blame] | 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. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | * |
Nathan Scott | 7b71876 | 2005-11-02 14:58:39 +1100 | [diff] [blame] | 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 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | */ |
| 18 | #ifndef __XFS_H__ |
| 19 | #define __XFS_H__ |
Vlad Apostolov | 93c189c | 2006-11-11 18:03:49 +1100 | [diff] [blame] | 20 | |
| 21 | #ifdef CONFIG_XFS_DEBUG |
| 22 | #define STATIC |
| 23 | #define DEBUG 1 |
| 24 | #define XFS_BUF_LOCK_TRACKING 1 |
Donald Douwsma | 18d1820 | 2008-04-22 17:34:56 +1000 | [diff] [blame^] | 25 | /* #define QUOTADEBUG 1 */ |
Vlad Apostolov | 93c189c | 2006-11-11 18:03:49 +1100 | [diff] [blame] | 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_BMBT_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 |
Lachlan McIlroy | cf441ee | 2008-02-07 16:42:19 +1100 | [diff] [blame] | 40 | #define XFS_INODE_TRACE 1 |
David Chinner | 2a82b8b | 2007-07-11 11:09:12 +1000 | [diff] [blame] | 41 | #define XFS_FILESTREAMS_TRACE 1 |
Vlad Apostolov | 93c189c | 2006-11-11 18:03:49 +1100 | [diff] [blame] | 42 | #endif |
| 43 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 44 | #include <linux-2.6/xfs_linux.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 45 | #endif /* __XFS_H__ */ |