main.c (8d3c202be23c5a915f7053ebd4e96f44700c6a62) main.c (18d1dbf1d401e8f9d74cf1cf799fdb19cff150c6)
1/**
2 * eCryptfs: Linux filesystem encryption layer
3 *
4 * Copyright (C) 1997-2003 Erez Zadok
5 * Copyright (C) 2001-2003 Stony Brook University
6 * Copyright (C) 2004-2007 International Business Machines Corp.
7 * Author(s): Michael A. Halcrow <mahalcro@us.ibm.com>
8 * Michael C. Thompson <mcthomps@us.ibm.com>

--- 205 unchanged lines hidden (view full) ---

214 fsstack_copy_attr_all(inode, lower_inode, NULL);
215 /* This size will be overwritten for real files w/ headers and
216 * other metadata */
217 fsstack_copy_inode_size(inode, lower_inode);
218 rc = ecryptfs_init_persistent_file(dentry);
219 if (rc) {
220 printk(KERN_ERR "%s: Error attempting to initialize the "
221 "persistent file for the dentry with name [%s]; "
1/**
2 * eCryptfs: Linux filesystem encryption layer
3 *
4 * Copyright (C) 1997-2003 Erez Zadok
5 * Copyright (C) 2001-2003 Stony Brook University
6 * Copyright (C) 2004-2007 International Business Machines Corp.
7 * Author(s): Michael A. Halcrow <mahalcro@us.ibm.com>
8 * Michael C. Thompson <mcthomps@us.ibm.com>

--- 205 unchanged lines hidden (view full) ---

214 fsstack_copy_attr_all(inode, lower_inode, NULL);
215 /* This size will be overwritten for real files w/ headers and
216 * other metadata */
217 fsstack_copy_inode_size(inode, lower_inode);
218 rc = ecryptfs_init_persistent_file(dentry);
219 if (rc) {
220 printk(KERN_ERR "%s: Error attempting to initialize the "
221 "persistent file for the dentry with name [%s]; "
222 "rc = [%d]\n", __FUNCTION__, dentry->d_name.name, rc);
222 "rc = [%d]\n", __func__, dentry->d_name.name, rc);
223 goto out;
224 }
225out:
226 return rc;
227}
228
229enum { ecryptfs_opt_sig, ecryptfs_opt_ecryptfs_sig,
230 ecryptfs_opt_cipher, ecryptfs_opt_ecryptfs_cipher,

--- 617 unchanged lines hidden ---
223 goto out;
224 }
225out:
226 return rc;
227}
228
229enum { ecryptfs_opt_sig, ecryptfs_opt_ecryptfs_sig,
230 ecryptfs_opt_cipher, ecryptfs_opt_ecryptfs_cipher,

--- 617 unchanged lines hidden ---