linux/fs/ecryptfs
Miklos Szeredi 8dc4e37362 ecryptfs: clean up (un)lock_parent
dget(dentry->d_parent) --> dget_parent(dentry)

unlock_parent() is racy and unnecessary.  Replace single caller with
unlock_dir().

There are several other suspect uses of ->d_parent in ecryptfs...

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Cc: Michael Halcrow <mhalcrow@us.ibm.com>
Cc: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-05-13 08:02:23 -07:00
..
Makefile eCryptfs: integrate eCryptfs device handle into the module. 2008-04-29 08:06:07 -07:00
crypto.c ecryptfs: replace remaining __FUNCTION__ occurrences 2008-04-29 08:06:06 -07:00
debug.c
dentry.c eCryptfs: Swap dput() and mntput() 2008-03-19 18:53:36 -07:00
ecryptfs_kernel.h eCryptfs: make key module subsystem respect namespaces 2008-04-29 08:06:07 -07:00
file.c eCryptfs: protect crypt_stat->flags in ecryptfs_open() 2008-04-29 08:06:07 -07:00
inode.c ecryptfs: clean up (un)lock_parent 2008-05-13 08:02:23 -07:00
keystore.c eCryptfs: integrate eCryptfs device handle into the module. 2008-04-29 08:06:07 -07:00
main.c ecryptfs: replace remaining __FUNCTION__ occurrences 2008-04-29 08:06:06 -07:00
messaging.c eCryptfs: make key module subsystem respect namespaces 2008-04-29 08:06:07 -07:00
miscdev.c eCryptfs: make key module subsystem respect namespaces 2008-04-29 08:06:07 -07:00
mmap.c ecryptfs: replace remaining __FUNCTION__ occurrences 2008-04-29 08:06:06 -07:00
netlink.c eCryptfs: make key module subsystem respect namespaces 2008-04-29 08:06:07 -07:00
read_write.c ecryptfs: replace remaining __FUNCTION__ occurrences 2008-04-29 08:06:06 -07:00
super.c ecryptfs: remove debug as mount option, and warn if set via modprobe 2008-02-06 10:41:12 -08:00