[PATCH] eCryptfs: Generalize metadata read/write
authorMichael Halcrow <mhalcrow@us.ibm.com>
Mon, 12 Feb 2007 08:53:46 +0000 (00:53 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 12 Feb 2007 17:48:36 +0000 (09:48 -0800)
commitdd2a3b7ad98f8482cae481cad89dfed5eee48365
tree986c09754176ea4c6e8308c6e2cdbf3fc0658a0b
parent17398957aa0a05ef62535060b41d103590dcc533
[PATCH] eCryptfs: Generalize metadata read/write

Generalize the metadata reading and writing mechanisms, with two targets for
now: metadata in file header and metadata in the user.ecryptfs xattr of the
lower file.

[akpm@osdl.org: printk warning fix]
[bunk@stusta.de: make some needlessly global code static]
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>
fs/ecryptfs/crypto.c
fs/ecryptfs/ecryptfs_kernel.h
fs/ecryptfs/file.c
fs/ecryptfs/inode.c
fs/ecryptfs/main.c
fs/ecryptfs/messaging.c
fs/ecryptfs/mmap.c