disk: efi: unify code for finding a valid gpt
There were 3 copies of the same sequence, make it into a function. Signed-off-by: NUrja Rannikko <urjaman@gmail.com> Reviewed-by: NKever Yang <kever.yang@rock-chips.com>
Showing
想要评论请 注册 或 登录