[GIT PULL] eCryptfs fixes for 3.6-rc6

From: Tyler Hicks
Date: Fri Sep 14 2012 - 13:24:06 EST


Hi Linus,

The following changes since commit e9bd8f1624cb0f647867d6cced79cb26ef3651bf:

Merge branch 'for-linus' of git://git.samba.org/sfrench/cifs-2.6 (2012-09-11 05:52:49 +0800)

are available in the git repository at:


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

for you to fetch changes up to 8335eafc2859e1a26282bef7c3d19f3d68868b8a:

eCryptfs: Copy up attributes of the lower target inode after rename (2012-09-14 09:36:03 -0700)

----------------------------------------------------------------
- Fixes a regression, introduced in 3.6-rc1, when a file is closed before its
shared memory mapping is dirtied and unmapped. The lower file was being
released when the eCryptfs file was closed and the dirtied pages could not be
written out.
- Adds a call to the lower filesystem's ->flush() from ecryptfs_flush().
- Fixes a regression, introduced in 2.6.39, when a file is renamed on top of
another file. The target file's inode was not being evicted and the space
taken by the file was not reclaimed until eCryptfs was unmounted.

----------------------------------------------------------------
Tyler Hicks (3):
eCryptfs: Write out all dirty pages just before releasing the lower file
eCryptfs: Call lower ->flush() from ecryptfs_flush()
eCryptfs: Copy up attributes of the lower target inode after rename

fs/ecryptfs/file.c | 10 ++++++++--
fs/ecryptfs/inode.c | 5 +++++
fs/ecryptfs/main.c | 1 +
3 files changed, 14 insertions(+), 2 deletions(-)

Attachment: signature.asc
Description: Digital signature