summaryrefslogtreecommitdiff
blob: 45852271fe1f82fcdb15f373931c5bf5b8b264f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
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) {