[PATCH v2 16/33] ns: remove ns_alloc_inum()