Commit 731a981e authored by Tejun Heo's avatar Tejun Heo

cgroup: make cftype->private a unsigned long

It's pretty unusual to have an int as a private data field and it
makes it impossible to carray a pointer value through it.  Let's make
it an unsigned long.  AFAICS, this shouldn't break anything.
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Acked-by: default avatarLi Zefan <lizefan@huawei.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
parent d0ec4230
...@@ -318,7 +318,7 @@ struct cftype { ...@@ -318,7 +318,7 @@ struct cftype {
* end of cftype array. * end of cftype array.
*/ */
char name[MAX_CFTYPE_NAME]; char name[MAX_CFTYPE_NAME];
int private; unsigned long private;
/* /*
* If not 0, file mode is set to this value, otherwise it will * If not 0, file mode is set to this value, otherwise it will
* be figured out automatically * be figured out automatically
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment