diff options
author | Tyler Hicks <tyhicks@linux.vnet.ibm.com> | 2010-02-11 06:02:32 (GMT) |
---|---|---|
committer | Tyler Hicks <tyhicks@linux.vnet.ibm.com> | 2010-03-23 17:31:35 (GMT) |
commit | f4e60e6b303bc46cdc477d3174dbf9cb5dd013aa (patch) | |
tree | 36abefd614efd86f97ac812f57c86a583c7e484a /fs/hfs/bnode.c | |
parent | 1984c23f9e0cdb432d90a85ecf88b424d36878fc (diff) | |
download | linux-fsl-qoriq-f4e60e6b303bc46cdc477d3174dbf9cb5dd013aa.tar.xz |
eCryptfs: Strip metadata in xattr flag in encrypted view
The ecryptfs_encrypted_view mount option provides a unified way of
viewing encrypted eCryptfs files. If the metadata is stored in a xattr,
the metadata is moved to the file header when the file is read inside
the eCryptfs mount. Because of this, we should strip the
ECRYPTFS_METADATA_IN_XATTR flag from the header's flag section. This
allows eCryptfs to treat the file as an eCryptfs file with a header
at the front.
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
Diffstat (limited to 'fs/hfs/bnode.c')
0 files changed, 0 insertions, 0 deletions