[PATCH v10 1/7] kernelbase: Restructure the open_key() loop.