linux-stable-rt/fs/ecryptfs
OGAWA Hirofumi 806892e9e1 ecryptfs: Fix refcnt leak on ecryptfs_follow_link() error path
If ->follow_link handler return the error, it should decrement
nd->path refcnt. But, ecryptfs_follow_link() doesn't decrement.

This patch fix it by using usual nd_set_link() style error handling,
instead of playing with nd->path.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2010-01-14 09:05:26 -05:00
..
Kconfig
Makefile
crypto.c
debug.c
dentry.c
ecryptfs_kernel.h
file.c
inode.c
keystore.c
kthread.c
main.c
messaging.c
miscdev.c
mmap.c
read_write.c
super.c