summaryrefslogtreecommitdiffstats
path: root/fs/ecryptfs/ecryptfs_kernel.h
diff options
context:
space:
mode:
authorTyler Hicks <tyhicks@linux.vnet.ibm.com>2010-02-11 12:09:14 +0100
committerTyler Hicks <tyhicks@linux.vnet.ibm.com>2010-03-23 18:30:41 +0100
commitfa3ef1cb4e6e9958a9bfaa977c107c515907f102 (patch)
treef297192533a0c8720534c76c6429e68ae92b94d9 /fs/ecryptfs/ecryptfs_kernel.h
parenteCryptfs: Fix metadata in xattr feature regression (diff)
downloadlinux-fa3ef1cb4e6e9958a9bfaa977c107c515907f102.tar.xz
linux-fa3ef1cb4e6e9958a9bfaa977c107c515907f102.zip
eCryptfs: Rename ecryptfs_crypt_stat.num_header_bytes_at_front
This patch renames the num_header_bytes_at_front variable to metadata_size since it now contains the max size of the metadata. Reviewed-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
Diffstat (limited to 'fs/ecryptfs/ecryptfs_kernel.h')
-rw-r--r--fs/ecryptfs/ecryptfs_kernel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ecryptfs/ecryptfs_kernel.h b/fs/ecryptfs/ecryptfs_kernel.h
index 8456f70606ad..d031efd7666b 100644
--- a/fs/ecryptfs/ecryptfs_kernel.h
+++ b/fs/ecryptfs/ecryptfs_kernel.h
@@ -273,7 +273,7 @@ struct ecryptfs_crypt_stat {
u32 flags;
unsigned int file_version;
size_t iv_bytes;
- size_t num_header_bytes_at_front;
+ size_t metadata_size;
size_t extent_size; /* Data extent size; default is 4096 */
size_t key_size;
size_t extent_shift;
@@ -469,7 +469,7 @@ ecryptfs_lower_header_size(struct ecryptfs_crypt_stat *crypt_stat)
{
if (crypt_stat->flags & ECRYPTFS_METADATA_IN_XATTR)
return 0;
- return crypt_stat->num_header_bytes_at_front;
+ return crypt_stat->metadata_size;
}
static inline struct ecryptfs_file_info *