efivarfs: abstract initial variable creation routine

Reuse later for variable creation after hibernation

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
This commit is contained in:
James Bottomley 2025-01-07 13:31:28 -08:00 • committed by Ard Biesheuvel
commit 0e2f98da20