summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/reiser4progs/files/reiser4progs-1.0.4.pset.patch')
-rw-r--r--sys-fs/reiser4progs/files/reiser4progs-1.0.4.pset.patch97
1 files changed, 97 insertions, 0 deletions
diff --git a/sys-fs/reiser4progs/files/reiser4progs-1.0.4.pset.patch b/sys-fs/reiser4progs/files/reiser4progs-1.0.4.pset.patch
new file mode 100644
index 000000000000..daaef251328b
--- /dev/null
+++ b/sys-fs/reiser4progs/files/reiser4progs-1.0.4.pset.patch
@@ -0,0 +1,97 @@
+===== include/reiser4/plugin.h 1.739 vs edited =====
+--- 1.739/include/reiser4/plugin.h 2005-01-30 15:57:02 +03:00
++++ edited/include/reiser4/plugin.h 2005-06-18 16:53:14 +04:00
+@@ -285,20 +285,23 @@ enum reiser4_opset_id {
+ OPSET_DIRITEM = 0x7,
+ OPSET_CRYPTO = 0x8,
+ OPSET_DIGEST = 0x9,
+- OPSET_COMPRES = 0xa,
++ OPSET_CPRESS = 0xa,
++ OPSET_CPRESS_MODE = 0xb,
++ OPSET_CLUSTER = 0xc,
++ OPSET_REGULAR = 0xd,
+
+- OPSET_STORE_LAST = (OPSET_COMPRES + 1),
++ OPSET_STORE_LAST,
+
+ /* These are not stored on disk in the current implementation. */
+- OPSET_CREATE = 0xb,
+- OPSET_MKDIR = 0xc,
+- OPSET_SYMLINK = 0xd,
+- OPSET_MKNODE = 0xe,
++ OPSET_CREATE = OPSET_STORE_LAST + 1,
++ OPSET_MKDIR = OPSET_STORE_LAST + 2,
++ OPSET_SYMLINK = OPSET_STORE_LAST + 3,
++ OPSET_MKNODE = OPSET_STORE_LAST + 4,
+
+ #ifndef ENABLE_MINIMAL
+- OPSET_TAIL = 0xf,
+- OPSET_EXTENT = 0x10,
+- OPSET_ACL = 0x11,
++ OPSET_TAIL = OPSET_STORE_LAST + 5,
++ OPSET_EXTENT = OPSET_STORE_LAST + 6,
++ OPSET_ACL = OPSET_STORE_LAST + 7,
+ #endif
+ OPSET_LAST
+ };
+===== libreiser4/pset.c 1.19 vs edited =====
+--- 1.19/libreiser4/pset.c 2004-11-24 12:09:22 +03:00
++++ edited/libreiser4/pset.c 2005-06-18 17:00:27 +04:00
+@@ -111,7 +111,7 @@ opset_member_t opset_prof[OPSET_LAST] =
+ .ess = 1,
+ #endif
+ },
+- [OPSET_COMPRES] = {
++ [OPSET_CPRESS] = {
+ .type = INVAL_TYPE,
+ #ifndef ENABLE_MINIMAL
+ .group = INVAL_PID,
+@@ -119,7 +119,31 @@ opset_member_t opset_prof[OPSET_LAST] =
+ .ess = 1,
+ #endif
+ },
+-
++ [OPSET_CPRESS_MODE] = {
++ .type = INVAL_TYPE,
++#ifndef ENABLE_MINIMAL
++ .group = INVAL_PID,
++ .prof = INVAL_PID,
++ .ess = 1,
++#endif
++ },
++ [OPSET_CLUSTER] = {
++ .type = INVAL_TYPE,
++#ifndef ENABLE_MINIMAL
++ .group = INVAL_PID,
++ .prof = INVAL_PID,
++ .ess = 1,
++#endif
++ },
++ [OPSET_REGULAR] = {
++ .type = INVAL_TYPE,
++#ifndef ENABLE_MINIMAL
++ .group = INVAL_PID,
++ .prof = INVAL_PID,
++ .ess = 1,
++#endif
++ },
++
+ /* Note, plugins below are not stored on-disk. */
+
+ /* The 4 plugins below needs to be splited -- for now they are used for
+===== plugin/sdext/sdext_plug/sdext_plug_repair.c 1.10 vs edited =====
+--- 1.10/plugin/sdext/sdext_plug/sdext_plug_repair.c 2004-09-22 18:21:08 +04:00
++++ edited/plugin/sdext/sdext_plug/sdext_plug_repair.c 2005-06-18 17:00:16 +04:00
+@@ -22,7 +22,10 @@ char *opset_name[OPSET_STORE_LAST] = {
+ [OPSET_DIRITEM] = "diritem",
+ [OPSET_CRYPTO] = "crypto",
+ [OPSET_DIGEST] = "digest",
+- [OPSET_COMPRES] = "compress"
++ [OPSET_CPRESS] = "compress",
++ [OPSET_CPRESS_MODE] = "compress mode",
++ [OPSET_CLUSTER] = "cluster",
++ [OPSET_REGULAR] = "regular"
+ };
+
+ errno_t sdext_plug_check_struct(stat_entity_t *stat, repair_hint_t *hint) {
+