Don't allow higher CPU counts than what the system has
authorJens Axboe <jens.axboe@oracle.com>
Mon, 8 Dec 2008 19:31:43 +0000 (20:31 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 8 Dec 2008 19:31:43 +0000 (20:31 +0100)
commitb03daafb17ee6e26f66d4bc2234a031b17d085bd
tree11a879640c882da7470c5d8e70cfa7b179bafea3
parent19608d6ceb982409ba036f646c7c57671d2df779
Don't allow higher CPU counts than what the system has

Basically just catch the condition before setting up the job, job files,
etc.

Also fixes a big with cpumask, it set the wrong part.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
options.c