Skip to content
  • Arnd Bergmann's avatar
    ubifs: auth: Add CONFIG_KEYS dependency · 60eb5da2
    Arnd Bergmann authored
    The new authentication support causes a build failure
    when CONFIG_KEYS is disabled, so add a dependency.
    
    fs/ubifs/auth.c: In function 'ubifs_init_authentication':
    fs/ubifs/auth.c:249:16: error: implicit declaration of function 'request_key'; did you mean 'request_irq'? [-Werror=implicit-function-declaration]
      keyring_key = request_key(&key_type_logon, c->auth_key_name, NULL);
    
    Fixes: d8a22773
    
     ("ubifs: Enable authentication support")
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
    60eb5da2