]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] eCryptfs: dput() lower d_parent on rename
authorMichael Halcrow <mhalcrow@us.ibm.com>
Thu, 16 Nov 2006 09:19:16 +0000 (01:19 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 16 Nov 2006 19:43:37 +0000 (11:43 -0800)
commit784ff1d19311495a394d54c1f3a2db9e686df47f
tree200817d262a0d0b82243a471e78b7ab31b4526d1
parent0949f254b70644a733ff09a8365bace14742dee2
[PATCH] eCryptfs: dput() lower d_parent on rename

On rename, for both the old and new lower dentry objects, eCryptfs is
missing a dput on the lower parent directory dentry.  This patch will
prevent the BUG() at fs/dcache.c:613 from being hit after renaming a file
inside eCryptfs and then doing a umount on the lower filesystem.

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/inode.c