mm: task dirty accounting fix
[safe/jmp/linux-2.6] / fs / ecryptfs / inode.c
index 38309ce..5697899 100644 (file)
@@ -52,8 +52,7 @@ static void unlock_dir(struct dentry *dir)
 /**
  * ecryptfs_create_underlying_file
  * @lower_dir_inode: inode of the parent in the lower fs of the new file
- * @lower_dentry: New file's dentry in the lower fs
- * @ecryptfs_dentry: New file's dentry in ecryptfs
+ * @dentry: New file's dentry
  * @mode: The mode of the new file
  * @nd: nameidata of ecryptfs' parent's dentry & vfsmount
  *
@@ -362,7 +361,7 @@ static struct dentry *ecryptfs_lookup(struct inode *ecryptfs_dir_inode,
                                      struct nameidata *ecryptfs_nd)
 {
        char *encrypted_and_encoded_name = NULL;
-       int encrypted_and_encoded_name_size;
+       size_t encrypted_and_encoded_name_size;
        struct ecryptfs_crypt_stat *crypt_stat = NULL;
        struct ecryptfs_mount_crypt_stat *mount_crypt_stat = NULL;
        struct ecryptfs_inode_info *inode_info;