]> err.no Git - linux-2.6/commit
[PATCH] eCryptfs: CIFS nlink fixes
authorMichael Halcrow <mhalcrow@us.ibm.com>
Thu, 16 Nov 2006 09:19:30 +0000 (01:19 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 16 Nov 2006 19:43:38 +0000 (11:43 -0800)
commitae56fb16337c882c52806508f93ead4034004c7a
treef2bb551db8d2d9b92c90b5f5462a3617457771bd
parent31be8309532a6743f301cb2e83bd12ca07988b09
[PATCH] eCryptfs: CIFS nlink fixes

When CIFS is the lower filesystem, the old lower dentry needs to be explicitly
dropped from inside eCryptfs to force a revalidate.  In addition, when CIFS is
the lower filesystem, the inode attributes need to be copied back up from the
lower inode to the eCryptfs inode on an eCryptfs revalidate.

Signed-off-by: Michael Halcrow <mhalcrow@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/ecryptfs/dentry.c
fs/ecryptfs/inode.c