diff options
author | 2007-10-16 01:28:04 -0700 | |
---|---|---|
committer | 2007-10-16 09:43:12 -0700 | |
commit | e9f6a99cb844a61b04cab5b82e333d6efef1f735 (patch) | |
tree | 1e7c20b39f1bfe3c583b27d1fd74ff988c754dd9 /fs/ecryptfs/messaging.c | |
parent | eCryptfs: make needlessly global symbols static (diff) | |
download | linux-rng-e9f6a99cb844a61b04cab5b82e333d6efef1f735.tar.xz linux-rng-e9f6a99cb844a61b04cab5b82e333d6efef1f735.zip |
eCryptfs: Use generic_file_splice_read()
eCryptfs is currently just passing through splice reads to the lower
filesystem. This is obviously incorrect behavior; the decrypted data is
what needs to be read, not the lower encrypted data. I cannot think of any
good reason for eCryptfs to implement splice_read, so this patch points the
eCryptfs fops splice_read to use generic_file_splice_read.
Signed-off-by: Michael Halcrow <mhalcrow@us.ibm.com>
Reviewed-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ecryptfs/messaging.c')
0 files changed, 0 insertions, 0 deletions