vfs: fix d_inode_lookup() dentry ref leak
authorMiklos Szeredi <mszeredi@suse.cz>
Fri, 3 Feb 2012 13:25:18 +0000 (14:25 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 14 Feb 2012 01:45:37 +0000 (20:45 -0500)
commite188dc02d3a9c911be56eca5aa114fe7e9822d53
tree8b2ad2bff8dd125b5d809b943620ade2842abb4a
parent3b582f393150c72b18339bc00d7ed4fb22445ed1
vfs: fix d_inode_lookup() dentry ref leak

d_inode_lookup() leaks a dentry reference on IS_DEADDIR().

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
CC: stable@vger.kernel.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c