add key_revoke() dummy for KEYS=n
authorAdrian Bunk <bunk@kernel.org>
Sun, 12 Oct 2008 04:10:50 +0000 (07:10 +0300)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 12 Oct 2008 18:44:37 +0000 (11:44 -0700)
commit0dab9cfa17179d1f5b067a32a3bca06cd31a3149
treee65e82135f688b9c9cc711d916912194f54ca13c
parent07104839597803ccd9b2c4f543ee4651522b4aa1
add key_revoke() dummy for KEYS=n

This fixes the following build error with CONFIG_KEYS=n, caused by
commit dfd15c46a6c2cafb006183c0c14f07e59eee4ac0 ("cifs: explicitly
revoke SPNEGO key after session setup"):

    CC [M]  fs/cifs/sess.o
  fs/cifs/sess.c: In function 'CIFS_SessSetup':
  fs/cifs/sess.c:628: error: implicit declaration of function 'key_revoke'
  make[3]: *** [fs/cifs/sess.o] Error 1

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/key.h