[GIT PULL] eCryptfs fixes for 3.6-rc1

From: Tyler Hicks
Date: Thu Aug 02 2012 - 02:05:59 EST


Hi Linus,

The following changes since commit bd0a521e88aa7a06ae7aabaed7ae196ed4ad867a:

Linux 3.5-rc6 (2012-07-07 17:23:56 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tyhicks/ecryptfs.git tags/ecryptfs-3.6-rc1-fixes

for you to fetch changes up to 5f5b331d5c21228a6519dcb793fc1629646c51a6:

eCryptfs: check for eCryptfs cipher support at mount (2012-07-13 17:20:34 -0700)

----------------------------------------------------------------
- Fixes a bug when the lower filesystem mount options include 'acl', but the
eCryptfs mount options do not
- Cleanups in the messaging code
- Better handling of empty files in the lower filesystem to improve usability.
Failed file creations are now cleaned up and empty lower files are converted
into eCryptfs during open().
- The write-through cache changes are being reverted due to bugs that are not
easy to fix. Stability outweighs the performance enhancements here.
- Improvement to the mount code to catch unsupported ciphers specified in the
mount options

----------------------------------------------------------------
Tim Sally (1):
eCryptfs: check for eCryptfs cipher support at mount

Tyler Hicks (6):
eCryptfs: Copy up POSIX ACL and read-only flags from lower mount
eCryptfs: Remove unused messaging declarations and function
eCryptfs: Make all miscdev functions use daemon ptr in file private_data
eCryptfs: Unlink lower inode when ecryptfs_create() fails
eCryptfs: Initialize empty lower files when opening them
eCryptfs: Revert to a writethrough cache model

fs/ecryptfs/ecryptfs_kernel.h | 24 +++-----
fs/ecryptfs/file.c | 90 ++++++++++++---------------
fs/ecryptfs/inode.c | 65 ++++++++++----------
fs/ecryptfs/main.c | 23 ++++++-
fs/ecryptfs/messaging.c | 136 +++++------------------------------------
fs/ecryptfs/miscdev.c | 98 ++++++++---------------------
fs/ecryptfs/mmap.c | 39 ++++--------
7 files changed, 158 insertions(+), 317 deletions(-)

Attachment: signature.asc
Description: Digital signature