summaryrefslogtreecommitdiff
path: root/fs/cifs
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2009-09-25 00:33:37 +0000
committerSteve French <sfrench@us.ibm.com>2009-09-25 00:33:37 +0000
commit0f59e61c1f034b8088086bc85dc777af2ad3e836 (patch)
treea126a404e29aea76619129c3af5840f9582fec43 /fs/cifs
parent086f68bd97126618ecb2dcff5f766f3a21722df7 (diff)
downloadlinux-3.10-0f59e61c1f034b8088086bc85dc777af2ad3e836.tar.gz
linux-3.10-0f59e61c1f034b8088086bc85dc777af2ad3e836.tar.bz2
linux-3.10-0f59e61c1f034b8088086bc85dc777af2ad3e836.zip
[CIFS] Fix build break when keys support turned off
Acked-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs')
-rw-r--r--fs/cifs/cifsfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
index 89142b39fec..c635b03accb 100644
--- a/fs/cifs/cifsfs.c
+++ b/fs/cifs/cifsfs.c
@@ -1045,8 +1045,8 @@ init_cifs(void)
return 0;
out_unregister_resolver_key:
- unregister_key_type(&key_type_dns_resolver);
#ifdef CONFIG_CIFS_DFS_UPCALL
+ unregister_key_type(&key_type_dns_resolver);
out_unregister_key_type:
#endif
#ifdef CONFIG_CIFS_UPCALL