xfs.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. #ifdef CONFIG_XFS_DEBUG
  21. #define STATIC
  22. #define DEBUG 1
  23. #define XFS_BUF_LOCK_TRACKING 1
  24. /* #define QUOTADEBUG 1 */
  25. #endif
  26. #ifdef CONFIG_XFS_TRACE
  27. #define XFS_ALLOC_TRACE 1
  28. #define XFS_ATTR_TRACE 1
  29. #define XFS_BLI_TRACE 1
  30. #define XFS_BMAP_TRACE 1
  31. #define XFS_BMBT_TRACE 1
  32. #define XFS_DIR2_TRACE 1
  33. #define XFS_DQUOT_TRACE 1
  34. #define XFS_ILOCK_TRACE 1
  35. #define XFS_LOG_TRACE 1
  36. #define XFS_RW_TRACE 1
  37. #define XFS_BUF_TRACE 1
  38. #define XFS_VNODE_TRACE 1
  39. #endif
  40. #include <linux-2.6/xfs_linux.h>
  41. #endif /* __XFS_H__ */