summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorgkostka <kostka.grzegorz@gmail.com>2017-05-20 09:35:40 +0200
committergkostka <kostka.grzegorz@gmail.com>2017-05-20 10:13:09 +0200
commit6f29a7eab37d41058924c6e60bb91d74bf91018d (patch)
tree18cbac3b11ccaea79a8d43943eb2ecff83e96f08 /include
parentdee6a10ab37fef64f47ddfadeae02a9449fb9294 (diff)
ext4_config: add defines allowing disabling xattr and extent modules
Diffstat (limited to 'include')
-rw-r--r--include/ext4_config.h10
-rw-r--r--include/ext4_extent.h1
2 files changed, 10 insertions, 1 deletions
diff --git a/include/ext4_config.h b/include/ext4_config.h
index 56cabf2..72dcdc3 100644
--- a/include/ext4_config.h
+++ b/include/ext4_config.h
@@ -88,6 +88,16 @@ extern "C" {
#define CONFIG_JOURNALING_ENABLE 1
#endif
+/**@brief Enable/disable xattr*/
+#ifndef CONFIG_XATTR_ENABLE
+#define CONFIG_XATTR_ENABLE 1
+#endif
+
+/**@brief Enable/disable extents*/
+#ifndef CONFIG_EXTENTS_ENABLE
+#define CONFIG_EXTENTS_ENABLE 1
+#endif
+
/**@brief Include error codes from ext4_errno or standard library.*/
#ifndef CONFIG_HAVE_OWN_ERRNO
#define CONFIG_HAVE_OWN_ERRNO 0
diff --git a/include/ext4_extent.h b/include/ext4_extent.h
index c12a1b8..fee0926 100644
--- a/include/ext4_extent.h
+++ b/include/ext4_extent.h
@@ -1,7 +1,6 @@
/*
* Copyright (c) 2013 Grzegorz Kostka (kostka.grzegorz@gmail.com)
*
- *
* HelenOS:
* Copyright (c) 2012 Martin Sucha
* Copyright (c) 2012 Frantisek Princ