NR_BG_LOCKS
struct bgl_lock locks[NR_BG_LOCKS];
for (i = 0; i < NR_BG_LOCKS; i++)
return &bgl->locks[block_group & (NR_BG_LOCKS-1)].lock;