From: Ian Kent Date: Tue, 18 Jan 2011 04:06:10 +0000 (+0800) Subject: vfs - fix dentry ref count in do_lookup() X-Git-Tag: v2.6.38-rc1~11^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8931221411f9ff950de8fd686dc5ab881394cb9a;p=pandora-kernel.git vfs - fix dentry ref count in do_lookup() There is a ref count problem in fs/namei.c:do_lookup(). When walking in ref-walk mode, if follow_managed() returns a fail we need to drop dentry and possibly vfsmount. Clean up properly, as we do in the other caller of follow_managed(). Signed-off-by: Ian Kent Signed-off-by: Al Viro --- Reading git-diff-tree failed