summaryrefslogtreecommitdiff
path: root/lib/test_kmod.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2023-12-08 19:39:27 +0300
committerArd Biesheuvel <ardb@kernel.org>2023-12-11 13:19:17 +0300
commitd28076ddda34d13aee675fbed52e3275af00f64d (patch)
tree2d840c98010d1e0f658b5b8402379e15faa04507 /lib/test_kmod.c
parent0e8d2444168dd519fea501599d150e62718ed2fe (diff)
downloadlinux-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/test_kmod.c')
0 files changed, 0 insertions, 0 deletions