linux_old1/fs/ecryptfs
Michael Halcrow 65dc814571 [PATCH] eCryptfs: no path_release() after path_lookup() error
Dmitriy Monakhov wrote:
> if path_lookup() return non zero code we don't have to worry about
> 'nd' parameter, but ecryptfs_read_super does path_release(&nd) after
> path_lookup has failed, and dentry counter becomes negative

Do not do a path_release after a path_lookup error.

Signed-off-by: Michael Halcrow <mhalcrow@us.ibm.com>
Cc: Dmitriy Monakhov <dmonakhov@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-03-01 14:53:38 -08:00
..
Makefile [PATCH] eCryptfs: Public key; packet management 2007-02-12 09:48:36 -08:00
crypto.c [PATCH] eCryptfs: open-code flag checking and manipulation 2007-02-12 09:48:37 -08:00
debug.c [PATCH] eCryptfs: open-code flag checking and manipulation 2007-02-12 09:48:37 -08:00
dentry.c [PATCH] eCryptfs: Use fsstack's generic copy inode attr functions 2006-12-08 08:28:40 -08:00
ecryptfs_kernel.h [PATCH] eCryptfs: Reduce stack usage in ecryptfs_generate_key_packet_set() 2007-02-16 08:14:01 -08:00
file.c [PATCH] eCryptfs: set O_LARGEFILE when opening lower file 2007-03-01 14:53:37 -08:00
inode.c [PATCH] eCryptfs: set O_LARGEFILE when opening lower file 2007-03-01 14:53:37 -08:00
keystore.c [PATCH] eCryptfs: Reduce stack usage in ecryptfs_generate_key_packet_set() 2007-02-16 08:14:01 -08:00
main.c [PATCH] eCryptfs: no path_release() after path_lookup() error 2007-03-01 14:53:38 -08:00
messaging.c [PATCH] ecryptfs: fix forgotten format specifier 2007-02-16 08:14:01 -08:00
mmap.c [PATCH] eCryptfs: remove unnecessary flush_dcache_page() 2007-03-01 14:53:38 -08:00
netlink.c [PATCH] eCryptfs: Public key; packet management 2007-02-12 09:48:36 -08:00
super.c [PATCH] Mark struct super_operations const 2007-02-12 09:48:47 -08:00