mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-18 05:06:31 +00:00
Assign one major number per thread pool instead of as many major numbers as there are threads in a thread pool. Do not increment 'major' if thread pool allocation fails. Micro-optimize iscsi_threads_pool_get() by eliminating the assignment to 'fn' and the write via snprintf() into name[]. Signed-off-by: Bart Van Assche <bvanassche@acm.org> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5520 d57e44dd-8a1f-0410-8b47-8ef2f437770f