OpenCloudOS-Kernel/fs/ecryptfs
Tyler Hicks 55f9cf6bba eCryptfs: Copy up lower inode attrs in getattr
The lower filesystem may do some type of inode revalidation during a
getattr call. eCryptfs should take advantage of that by copying the
lower inode attributes to the eCryptfs inode after a call to
vfs_getattr() on the lower inode.

I originally wrote this fix while working on eCryptfs on nfsv3 support,
but discovered it also fixed an eCryptfs on ext4 nanosecond timestamp
bug that was reported.

https://bugs.launchpad.net/bugs/613873

Cc: <stable@kernel.org>
Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
2011-02-21 14:46:36 -06:00
..
Kconfig eCryptfs: Remove Kconfig NET dependency and select MD5 2009-10-08 11:31:36 -05:00
Makefile eCryptfs: remove netlink transport 2008-10-16 11:21:39 -07:00
crypto.c ecryptfs: Fix ecryptfs_printk() size_t warnings 2011-01-17 13:01:24 -06:00
debug.c eCryptfs: update comment and debug statement 2007-10-16 09:43:11 -07:00
dentry.c eCryptfs: Handle NULL nameidata pointers 2011-02-21 14:45:57 -06:00
ecryptfs_kernel.h eCryptfs: Handle NULL nameidata pointers 2011-02-21 14:45:57 -06:00
file.c ecryptfs: read on a directory should return EISDIR if not supported 2011-02-21 14:46:36 -06:00
inode.c eCryptfs: Copy up lower inode attrs in getattr 2011-02-21 14:46:36 -06:00
keystore.c ecryptfs: Fix ecryptfs_printk() size_t warnings 2011-01-17 13:01:24 -06:00
kthread.c ecryptfs: properly mark init functions 2010-08-27 10:50:52 -05:00
main.c fs/ecryptfs: Add printf format/argument verification and fix fallout 2011-01-17 13:01:23 -06:00
messaging.c ecryptfs: properly mark init functions 2010-08-27 10:50:52 -05:00
miscdev.c llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
mmap.c ecryptfs: remove unnecessary decrypt when extending a file 2011-01-17 13:01:25 -06:00
read_write.c switch ecryptfs_write() to struct inode *, kill on-stack fake files 2010-05-21 18:31:28 -04:00
super.c fs: icache RCU free inodes 2011-01-07 17:50:26 +11:00