mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
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: Ard Biesheuvel <ardb@kernel.org>
This commit is contained in:
parent
0e8d244416
commit
d28076ddda
1 changed files with 3 additions and 6 deletions
Loading…
Add table
Add a link
Reference in a new issue