diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2023-12-08 19:39:27 +0300 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2023-12-11 13:19:17 +0300 |
commit | d28076ddda34d13aee675fbed52e3275af00f64d (patch) | |
tree | 2d840c98010d1e0f658b5b8402379e15faa04507 /lib/raid6/mktables.c | |
parent | 0e8d2444168dd519fea501599d150e62718ed2fe (diff) | |
download | linux-d28076ddda34d13aee675fbed52e3275af00f64d.tar.xz |
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>
Diffstat (limited to 'lib/raid6/mktables.c')
0 files changed, 0 insertions, 0 deletions