summaryrefslogtreecommitdiff
path: root/src/ext4_xattr.c
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 /src/ext4_xattr.c
parentdee6a10ab37fef64f47ddfadeae02a9449fb9294 (diff)
ext4_config: add defines allowing disabling xattr and extent modules
Diffstat (limited to 'src/ext4_xattr.c')
-rw-r--r--src/ext4_xattr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ext4_xattr.c b/src/ext4_xattr.c
index e434f3e..f8a5778 100644
--- a/src/ext4_xattr.c
+++ b/src/ext4_xattr.c
@@ -35,6 +35,8 @@
#include <stdlib.h>
#include <string.h>
+#if CONFIG_XATTR_ENABLE
+
/**
* @file ext4_xattr.c
* @brief Extended Attribute Manipulation
@@ -1555,6 +1557,8 @@ out:
return ret;
}
+#endif
+
/**
* @}
*/