[CIFS] Fix build break when keys support turned off
authorSteve French <sfrench@us.ibm.com>
Fri, 25 Sep 2009 00:33:37 +0000 (00:33 +0000)
committerSteve French <sfrench@us.ibm.com>
Fri, 25 Sep 2009 00:33:37 +0000 (00:33 +0000)
Acked-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsfs.c

index 89142b39fec1e1a6d2c0bf86315a40b0ba7a9396..c635b03accb1fedfaf6a1f0c2b0be38ba4c03ae8 100644 (file)
@@ -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