[PATCH v2 2/9] cgroup: update and fix parsing of "cgroup.subtree_control"

2014-05-06 Thread Tejun Heo
I was confused that strsep() was equivalent to strtok_r() in skipping over consecutive delimiters. strsep() just splits at the first occurrence of one of the delimiters which makes the parsing very inflexible, which makes allowing multiple whitespace chars as delimters kinda moot. Let's just be

[PATCH v2 2/9] cgroup: update and fix parsing of cgroup.subtree_control

2014-05-06 Thread Tejun Heo
I was confused that strsep() was equivalent to strtok_r() in skipping over consecutive delimiters. strsep() just splits at the first occurrence of one of the delimiters which makes the parsing very inflexible, which makes allowing multiple whitespace chars as delimters kinda moot. Let's just be