]> err.no Git - linux-2.6/commitdiff
eCryptfs: update comment and debug statement
authorMichael Halcrow <mhalcrow@us.ibm.com>
Tue, 16 Oct 2007 08:27:58 +0000 (01:27 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 16 Oct 2007 16:43:11 +0000 (09:43 -0700)
Trivial updates to comment and debug statement.

Signed-off-by: Michael Halcrow <mhalcrow@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ecryptfs/crypto.c
fs/ecryptfs/debug.c

index 4f7d895919703df511938cdfdfaaa6330db716b1..129ed13f8253e1c79693069ee772fabbde24ef26 100644 (file)
@@ -1267,8 +1267,6 @@ static int ecryptfs_read_header_region(char *data, struct dentry *dentry,
        lower_file->f_pos = 0;
        oldfs = get_fs();
        set_fs(get_ds());
-       /* For releases 0.1 and 0.2, all of the header information
-        * fits in the first data extent-sized region. */
        rc = lower_file->f_op->read(lower_file, (char __user *)data,
                              ECRYPTFS_DEFAULT_EXTENT_SIZE, &lower_file->f_pos);
        set_fs(oldfs);
index 434c7efd80f814eea18662354d371fa9af0178ae..3d2bdf546ec655b05cc0733a55e8f0cba212aeaf 100644 (file)
@@ -38,8 +38,6 @@ void ecryptfs_dump_auth_tok(struct ecryptfs_auth_tok *auth_tok)
                        auth_tok);
        if (auth_tok->flags & ECRYPTFS_PRIVATE_KEY) {
                ecryptfs_printk(KERN_DEBUG, " * private key type\n");
-               ecryptfs_printk(KERN_DEBUG, " * (NO PRIVATE KEY SUPPORT "
-                               "IN ECRYPTFS VERSION 0.1)\n");
        } else {
                ecryptfs_printk(KERN_DEBUG, " * passphrase type\n");
                ecryptfs_to_hex(salt, auth_tok->token.password.salt,