Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 02c402d9 authored by Tejun Heo's avatar Tejun Heo
Browse files

cgroup: convert CFTYPE_* flags to enums



Purely cosmetic.

Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Acked-by: default avatarLi Zefan <lizefan@huawei.com>
parent 03c78cbe
Loading
Loading
Loading
Loading
+5 −3
Original line number Original line Diff line number Diff line
@@ -385,9 +385,11 @@ struct cgroup_map_cb {
 */
 */


/* cftype->flags */
/* cftype->flags */
#define CFTYPE_ONLY_ON_ROOT	(1U << 0)	/* only create on root cg */
enum {
#define CFTYPE_NOT_ON_ROOT	(1U << 1)	/* don't create on root cg */
	CFTYPE_ONLY_ON_ROOT	= (1 << 0),	/* only create on root cg */
#define CFTYPE_INSANE		(1U << 2)	/* don't create if sane_behavior */
	CFTYPE_NOT_ON_ROOT	= (1 << 1),	/* don't create on root cg */
	CFTYPE_INSANE		= (1 << 2),	/* don't create if sane_behavior */
};


#define MAX_CFTYPE_NAME		64
#define MAX_CFTYPE_NAME		64