linux-IllusionX/fs/ecryptfs
Eric Sandeen 16317ec2e5 ecryptfs: redo dget,mntget on dentry_open failure
Thanks to Jeff Moyer for pointing this out.

If the RDWR dentry_open() in ecryptfs_init_persistent_file fails,
it will do a dput/mntput.  Need to re-take references if we
retry as RDONLY.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Acked-by: Mike Halcrow <mhalcrow@us.ibm.com>
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-12-23 12:54:37 -08:00
..
crypto.c ecryptfs: fix unlocking in error paths 2007-12-23 12:54:37 -08:00
debug.c
dentry.c
ecryptfs_kernel.h
file.c
inode.c
keystore.c
main.c ecryptfs: redo dget,mntget on dentry_open failure 2007-12-23 12:54:37 -08:00
Makefile
messaging.c ecryptfs: fix unlocking in error paths 2007-12-23 12:54:37 -08:00
mmap.c
netlink.c
read_write.c
super.c