linux/fs/efivarfs
Masahisa Kojima 94f7f6182c efivarfs: automatically update super block flag
efivar operation is updated when the tee_stmm_efi module is probed.
tee_stmm_efi module supports SetVariable runtime service, but user needs
to manually remount the efivarfs as RW to enable the write access if the
previous efivar operation does not support SetVariable and efivarfs is
mounted as read-only.

This commit notifies the update of efivar operation to efivarfs
subsystem, then drops SB_RDONLY flag if the efivar operation supports
SetVariable.

Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
[ardb: use per-superblock instance of the notifier block]
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
2023-12-11 11:19:18 +01:00
..
file.c efivarfs: convert to new timestamp accessors 2023-10-18 13:26:20 +02:00
inode.c efivarfs: Move efivarfs list into superblock s_fs_info 2023-12-11 11:19:18 +01:00
internal.h efivarfs: automatically update super block flag 2023-12-11 11:19:18 +01:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile efi: vars: Move efivar caching layer into efivarfs 2022-06-24 20:40:19 +02:00
super.c efivarfs: automatically update super block flag 2023-12-11 11:19:18 +01:00
vars.c efivarfs: Move efivarfs list into superblock s_fs_info 2023-12-11 11:19:18 +01:00