light: fix propagation of maxnr

This commit is contained in:
Thomas Schoebel-Theuer 2014-08-14 10:01:21 +02:00
parent b864e8dc7d
commit 6a176c26c7

View File

@ -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,
},
{}
};