workqueue: make workqueue->name[] fixed len
authorTejun Heo <tj@kernel.org>
Mon, 1 Apr 2013 18:23:34 +0000 (11:23 -0700)
committerTejun Heo <tj@kernel.org>
Mon, 1 Apr 2013 18:23:34 +0000 (11:23 -0700)
commitecf6881ff349ad8670ec53a7586002d20b5f3b2e
treee6e288cf5a0a57377434eb9ad1fd4d0260a6f27a
parent6029a91829ad2bd876fed78bc088d3469a9dd777
workqueue: make workqueue->name[] fixed len

Currently workqueue->name[] is of flexible length.  We want to use the
flexible field for something more useful and there isn't much benefit
in allowing arbitrary name length anyway.  Make it fixed len capping
at 24 bytes.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Lai Jiangshan <laijs@cn.fujitsu.com>
kernel/workqueue.c