blkparse: initialize cpu_map
authorEric Sandeen <sandeen@redhat.com>
Fri, 16 Dec 2011 19:25:16 +0000 (13:25 -0600)
committerJens Axboe <jaxboe@fusionio.com>
Wed, 1 Feb 2012 12:14:30 +0000 (13:14 +0100)
commitcd992d08dae8dca9f46f75506ec9ceb204dc2f39
treece0a9c78c0412ba9922886b780d4586d5bcbacd5
parent6da330452fbaa1de7ebba6cddcdfdb343fda94ee
blkparse: initialize cpu_map

We malloc'd cpu_map, and then did:

cpu_map[CPU_IDX(cpu)] |= (1UL << CPU_BIT(cpu));

... not sure how that ever worked if cpu_map was not initialized!

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
blkparse.c