]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8d8512603799a075d397cd7eed24664ce3f248a9
treee6e288cf5a0a57377434eb9ad1fd4d0260a6f27a
parent07db47f8762ea9a5a5d458417409f4923fe05001
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