]> err.no Git - linux-2.6/commit
[PATCH] d_instantiate_unique / NFS inode leakage
authorOleg Drokin <green@linuxhacker.ru>
Tue, 10 Jan 2006 04:52:51 +0000 (20:52 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 10 Jan 2006 16:01:41 +0000 (08:01 -0800)
commite866cfa939de7f52c154a9495eb5767f89abf453
tree331c6c08848597ea5674ebccb51f31a045bd1e30
parent632d6407afb58ef125bf7e82a2e8af27d0704b56
[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>
fs/dcache.c