diff options
author | Josef "Jeff" Sipek <jsipek@cs.sunysb.edu> | 2006-12-08 05:36:31 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 11:28:40 -0500 |
commit | 0cc72dc7f050188d8d7344b1dd688cbc68d3cd30 (patch) | |
tree | 80a43eb49ca7b720050b7da1eb1d7175b6eaa091 /fs/ecryptfs/ecryptfs_kernel.h | |
parent | 42cf11939becc717bd125d121a1a23415106a099 (diff) |
[PATCH] eCryptfs: Use fsstack's generic copy inode attr functions
Replace eCryptfs specific code & calls with the more generic fsstack
equivalents and remove the eCryptfs specific functions.
Signed-off-by: Josef "Jeff" Sipek <jsipek@cs.sunysb.edu>
Cc: Michael Halcrow <mhalcrow@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/ecryptfs/ecryptfs_kernel.h')
-rw-r--r-- | fs/ecryptfs/ecryptfs_kernel.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/ecryptfs/ecryptfs_kernel.h b/fs/ecryptfs/ecryptfs_kernel.h index f992533d1692..424137fb5898 100644 --- a/fs/ecryptfs/ecryptfs_kernel.h +++ b/fs/ecryptfs/ecryptfs_kernel.h | |||
@@ -28,6 +28,7 @@ | |||
28 | 28 | ||
29 | #include <keys/user-type.h> | 29 | #include <keys/user-type.h> |
30 | #include <linux/fs.h> | 30 | #include <linux/fs.h> |
31 | #include <linux/fs_stack.h> | ||
31 | #include <linux/scatterlist.h> | 32 | #include <linux/scatterlist.h> |
32 | 33 | ||
33 | /* Version verification for shared data structures w/ userspace */ | 34 | /* Version verification for shared data structures w/ userspace */ |
@@ -413,9 +414,6 @@ int ecryptfs_encode_filename(struct ecryptfs_crypt_stat *crypt_stat, | |||
413 | const char *name, int length, | 414 | const char *name, int length, |
414 | char **encoded_name); | 415 | char **encoded_name); |
415 | struct dentry *ecryptfs_lower_dentry(struct dentry *this_dentry); | 416 | struct dentry *ecryptfs_lower_dentry(struct dentry *this_dentry); |
416 | void ecryptfs_copy_attr_atime(struct inode *dest, const struct inode *src); | ||
417 | void ecryptfs_copy_attr_all(struct inode *dest, const struct inode *src); | ||
418 | void ecryptfs_copy_inode_size(struct inode *dst, const struct inode *src); | ||
419 | void ecryptfs_dump_hex(char *data, int bytes); | 417 | void ecryptfs_dump_hex(char *data, int bytes); |
420 | int virt_to_scatterlist(const void *addr, int size, struct scatterlist *sg, | 418 | int virt_to_scatterlist(const void *addr, int size, struct scatterlist *sg, |
421 | int sg_size); | 419 | int sg_size); |