Code

write_head_info(): handle "extra refs" locally