shithub: lwext4

Download patch

ref: 67547995f1a63bb312be700b79cf14740cea7e1a
parent: 9944bc0d5f4e34f0cf3fd4ce8b3661fdc89e1cf2
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Sun Nov 15 07:52:32 EST 2020

disable xattr to generate BSD-license library

--- a/include/plan9/generated/ext4_config.h
+++ b/include/plan9/generated/ext4_config.h
@@ -33,7 +33,7 @@
 #define CONFIG_BLOCK_DEV_CACHE_SIZE 1024
 #define CONFIG_JOURNALING_ENABLE 1
 #define CONFIG_EXTENTS_ENABLE 1
-#define CONFIG_XATTR_ENABLE 1
+#define CONFIG_XATTR_ENABLE 0
 
 #if defined(__amd64__) || defined(__386__)
 #define CONFIG_UNALIGNED_ACCESS 1
--- a/src/mkfile
+++ b/src/mkfile
@@ -29,7 +29,6 @@
 	../include/ext4_super.h\
 	../include/ext4_trans.h\
 	../include/ext4_types.h\
-	../include/ext4_xattr.h\
 	../include/misc/queue.h\
 	../include/misc/tree.h\
 	../include/plan9/generated/ext4_config.h\
@@ -70,7 +69,6 @@
 	ext4_mkfs.$O\
 	ext4_super.$O\
 	ext4_trans.$O\
-	ext4_xattr.$O\
 
 default:V: all