[PATCH] d_instantiate_unique / NFS inode leakage
authorOleg Drokin <green@linuxhacker.ru>
Tue, 10 Jan 2006 17:28:45 +0000 (09:28 -0800)
committerChris Wright <chrisw@sous-sol.org>
Fri, 10 Feb 2006 07:20:05 +0000 (23:20 -0800)
commite8ef6e326e777417a4287e114751e89444d99082
treeadd5fa54b61623c8f54da6584dac85e9b4a414f4
parenta9532d48ec7403bcab71518f1116eb9c7746053c
[PATCH] d_instantiate_unique / NFS inode leakage

If we have found aliased dentry that we return, inode reference is not
dropped and inode is not attached anywhere, so it seems the reference to
inode is leaked in that case.

Cc: Trond Myklebust <trond.myklebust@fys.uio.no>,
Cc: <viro@parcelfarce.linux.theplanet.co.uk>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/dcache.c