Perhaps we can simplify this check then, to:
BUG_ON(sizeof(cgrp->root->release_agent_path) < PATH_MAX));
Less runtime code.
This patch of Adrian highlighted a couple more opportunities
for code tweaking ... see my RFC patches, coming next from me.
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@sgi.com> 1.925.600.0401
-