summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2013-05-09 13:06:20 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-05-09 13:06:20 -0700
commit8769e078a9a2bce13d39c08e0e5a513f5320e1de (patch)
tree4f63f3e0179a5b0a17f961f86e775393c8cf1732 /fs/xfs/xfs.h
parent8cbc95ee748741939222c3d38584a40c92bedcdd (diff)
parent7dfbcbefad4b24d9822d04dbd7b5dd5c3fd45076 (diff)
downloadlwn-8769e078a9a2bce13d39c08e0e5a513f5320e1de.tar.gz
lwn-8769e078a9a2bce13d39c08e0e5a513f5320e1de.zip
Merge tag 'for-linus-v3.10-rc1-2' of git://oss.sgi.com/xfs/xfs
Pull xfs update (#2) from Ben Myers: - add CONFIG_XFS_WARN, a step between zero debugging and CONFIG_XFS_DEBUG. - fix attrmulti and attrlist to fall back to vmalloc when kmalloc fails. * tag 'for-linus-v3.10-rc1-2' of git://oss.sgi.com/xfs/xfs: xfs: fallback to vmalloc for large buffers in xfs_compat_attrlist_by_handle xfs: fallback to vmalloc for large buffers in xfs_attrlist_by_handle xfs: introduce CONFIG_XFS_WARN
Diffstat (limited to 'fs/xfs/xfs.h')
-rw-r--r--fs/xfs/xfs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/xfs/xfs.h b/fs/xfs/xfs.h
index d8b11b7f94aa..a742c47f7d5a 100644
--- a/fs/xfs/xfs.h
+++ b/fs/xfs/xfs.h
@@ -24,6 +24,11 @@
#define XFS_BUF_LOCK_TRACKING 1
#endif
+#ifdef CONFIG_XFS_WARN
+#define XFS_WARN 1
+#endif
+
+
#include "xfs_linux.h"
#endif /* __XFS_H__ */