]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/ecryptfs/main.c
[PATCH] eCryptfs: Cipher code to new crypto API
[linux-2.6-omap-h63xx.git] / fs / ecryptfs / main.c
index a65f4865182ce9fb16010ef2f4eeb1c7bc27b6b5..a78d87d14bafb2256313753cc8aeaeeb6c0b381f 100644 (file)
@@ -315,6 +315,8 @@ static int ecryptfs_parse_options(struct super_block *sb, char *options)
                       "with key size [%Zd] bytes; rc = [%d]\n",
                       mount_crypt_stat->global_default_cipher_name,
                       mount_crypt_stat->global_default_cipher_key_size, rc);
+               mount_crypt_stat->global_key_tfm = NULL;
+               mount_crypt_stat->global_auth_tok_key = NULL;
                rc = -EINVAL;
                goto out;
        }