Remove BLKIO_POLICY_* enums and let blkio_policy_register() allocate@pol->plid dynamically on registration. The maximum number of blkcgpolicies which can be registered at the same time is defined byBLKCG_MAX_POLS constant added to include/linux/blkdev.h.

Note that blkio_policy_register() now may fail. Policy init functionsupdated accordingly and unnecessary ifdefs removed from cfq_init().