From: Tyler Hicks Date: Thu, 11 Feb 2010 06:02:32 +0000 (-0600) Subject: eCryptfs: Strip metadata in xattr flag in encrypted view X-Git-Tag: v2.6.34-rc5~2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4e60e6b303bc46cdc477d3174dbf9cb5dd013aa;p=pandora-kernel.git 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 Signed-off-by: Tyler Hicks --- Reading git-diff-tree failed