Upstream commit
b168ed458ddec ("kernel/cgroup: Add 'dmem' memory
accounting cgroup") adds a new controller. Update MAX_MNT_ELEMENTS
to match the increased number of cgroup controllers.
Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
(cherry picked from commit
328387f411cd793acb48aa990d6e72c9feb46713)
#include <sys/stat.h>
#include <sys/types.h>
-#define MAX_MNT_ELEMENTS 16 /* Maximum number of mount points/controllers */
+#define MAX_MNT_ELEMENTS 17 /* Maximum number of mount points/controllers */
#define MAX_GROUP_ELEMENTS 128 /* Estimated number of groups created */
#define CG_CONTROL_VALUE_MAX 4096 /* Maximum length of a value */