diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2023-12-08 17:39:27 +0100 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2023-12-11 11:19:17 +0100 |
commit | d28076ddda34d13aee675fbed52e3275af00f64d (patch) | |
tree | 2d840c98010d1e0f658b5b8402379e15faa04507 /fs/mbcache.c | |
parent | 0e8d2444168dd519fea501599d150e62718ed2fe (diff) |
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 'fs/mbcache.c')
0 files changed, 0 insertions, 0 deletions