• Johan Hovold's avatar
    efivarfs: always register filesystem · 301de9a2
    Johan Hovold authored
    The efivar ops are typically registered at subsys init time so that
    they are available when efivarfs is registered at module init time.
    
    Other efivars implementations, such as Google SMI, exist and can
    currently be built as modules which means that efivar may not be
    available when efivarfs is initialised.
    
    Move the efivar availability check from module init to when the
    filesystem is mounted to allow late registration of efivars.
    Signed-off-by: default avatarJohan Hovold <johan+linaro@kernel.org>
    Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
    301de9a2
super.c 6.2 KB