Merge pull request #47 from MaskRay/jbd_commit_header
[lwext4.git] / src / ext4_xattr.c
index e434f3ef5e9dadff7a2127de99969b3932aaf765..f8a577891c061e673746b2ffc0dec587c5d00e47 100644 (file)
@@ -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
+
 /**
  * @}
  */