eCryptfs: update metadata read/write functions
Update the metadata read/write functions and grow_file() to use the read_write.c routines. Do not open another lower file; use the persistent lower file instead. Provide a separate function for crypto.c::ecryptfs_read_xattr_region() to get to the lower xattr without having to go through the eCryptfs getxattr. 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>
Showing
- fs/ecryptfs/crypto.c 59 additions, 68 deletionsfs/ecryptfs/crypto.c
- fs/ecryptfs/ecryptfs_kernel.h 8 additions, 7 deletionsfs/ecryptfs/ecryptfs_kernel.h
- fs/ecryptfs/file.c 1 addition, 1 deletionfs/ecryptfs/file.c
- fs/ecryptfs/inode.c 45 additions, 56 deletionsfs/ecryptfs/inode.c
- fs/ecryptfs/mmap.c 1 addition, 1 deletionfs/ecryptfs/mmap.c
Loading
Please register or sign in to comment