]> nv-tegra.nvidia Code Review - linux-2.6.git/commit
eCryptfs: Filename Encryption: filldir, lookup, and readlink
authorMichael Halcrow <mhalcrow@us.ibm.com>
Tue, 6 Jan 2009 22:42:00 +0000 (14:42 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:22 +0000 (15:59 -0800)
commitaddd65ad8d19a7d7982130b16f957d5d01d3f8df
tree2263b4a4b7a6269410bd161a3995d2b4af3f7bcf
parent51ca58dcc9f0d6b1e78954d08bd4954fb6a1421c
eCryptfs: Filename Encryption: filldir, lookup, and readlink

Make the requisite modifications to ecryptfs_filldir(), ecryptfs_lookup(),
and ecryptfs_readlink() to call out to filename encryption functions.
Propagate filename encryption policy flags from mount-wide crypt_stat to
inode crypt_stat.

Signed-off-by: Michael Halcrow <mhalcrow@us.ibm.com>
Cc: Dustin Kirkland <dustin.kirkland@gmail.com>
Cc: Eric Sandeen <sandeen@redhat.com>
Cc: Tyler Hicks <tchicks@us.ibm.com>
Cc: David Kleikamp <shaggy@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ecryptfs/crypto.c
fs/ecryptfs/ecryptfs_kernel.h
fs/ecryptfs/file.c
fs/ecryptfs/inode.c