mirror of
https://github.com/schoebel/mars
synced 2025-01-04 21:33:01 +00:00
light: fix propagation of maxnr
This commit is contained in:
parent
b864e8dc7d
commit
6a176c26c7
@ -481,6 +481,7 @@ enum {
|
||||
CL_LOG,
|
||||
CL_REPLAYSTATUS,
|
||||
CL_DEVICE,
|
||||
CL_MAXNR,
|
||||
};
|
||||
|
||||
///////////////////////////////////////////////////////////////////////
|
||||
@ -5018,6 +5019,17 @@ static const struct light_class light_classes[] = {
|
||||
#endif
|
||||
.cl_backward = kill_dev,
|
||||
},
|
||||
|
||||
/* Quirk: when dead resources are recreated during a network partition,
|
||||
* this is used to void version number clashes in the
|
||||
* partitioned cluster.
|
||||
*/
|
||||
[CL_MAXNR] = {
|
||||
.cl_name = "maxnr",
|
||||
.cl_len = 5,
|
||||
.cl_type = 'l',
|
||||
.cl_father = CL_RESOURCE,
|
||||
},
|
||||
{}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user