Skip to content
Commit d28076dd authored by Ard Biesheuvel's avatar Ard Biesheuvel
Browse files

efivarfs: Move efivar availability check into FS context init



Instead of checking whether or not EFI variables are available when
creating the superblock, check it one step earlier, when initializing
the FS context for the mount. This way, no FS context will be created at
all, and we can drop the second check at .kill_sb() time entirely.

Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
parent 0e8d2444
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment