diff options
author | Michael Halcrow <mhalcrow@us.ibm.com> | 2008-02-06 04:38:32 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-06 13:41:12 -0500 |
commit | cc11beffdf80ca31dff21422fa2a5e54d25f1494 (patch) | |
tree | 3b0e28d18f493a7c59b089c4c6fc59c79945937e /fs/ecryptfs/ecryptfs_kernel.h | |
parent | 7896b631823c6e8f1a520d89390624a51445840e (diff) |
eCryptfs: track header bytes rather than extents
Remove internal references to header extents; just keep track of header bytes
instead. Headers can easily span multiple pages with the recent persistent
file changes.
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>
Diffstat (limited to 'fs/ecryptfs/ecryptfs_kernel.h')
-rw-r--r-- | fs/ecryptfs/ecryptfs_kernel.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ecryptfs/ecryptfs_kernel.h b/fs/ecryptfs/ecryptfs_kernel.h index 466661c9fb2..3d637e9ca36 100644 --- a/fs/ecryptfs/ecryptfs_kernel.h +++ b/fs/ecryptfs/ecryptfs_kernel.h | |||
@@ -237,7 +237,7 @@ struct ecryptfs_crypt_stat { | |||
237 | u32 flags; | 237 | u32 flags; |
238 | unsigned int file_version; | 238 | unsigned int file_version; |
239 | size_t iv_bytes; | 239 | size_t iv_bytes; |
240 | size_t num_header_extents_at_front; | 240 | size_t num_header_bytes_at_front; |
241 | size_t extent_size; /* Data extent size; default is 4096 */ | 241 | size_t extent_size; /* Data extent size; default is 4096 */ |
242 | size_t key_size; | 242 | size_t key_size; |
243 | size_t extent_shift; | 243 | size_t extent_shift; |
@@ -518,7 +518,6 @@ extern struct kmem_cache *ecryptfs_file_info_cache; | |||
518 | extern struct kmem_cache *ecryptfs_dentry_info_cache; | 518 | extern struct kmem_cache *ecryptfs_dentry_info_cache; |
519 | extern struct kmem_cache *ecryptfs_inode_info_cache; | 519 | extern struct kmem_cache *ecryptfs_inode_info_cache; |
520 | extern struct kmem_cache *ecryptfs_sb_info_cache; | 520 | extern struct kmem_cache *ecryptfs_sb_info_cache; |
521 | extern struct kmem_cache *ecryptfs_header_cache_0; | ||
522 | extern struct kmem_cache *ecryptfs_header_cache_1; | 521 | extern struct kmem_cache *ecryptfs_header_cache_1; |
523 | extern struct kmem_cache *ecryptfs_header_cache_2; | 522 | extern struct kmem_cache *ecryptfs_header_cache_2; |
524 | extern struct kmem_cache *ecryptfs_xattr_cache; | 523 | extern struct kmem_cache *ecryptfs_xattr_cache; |