From: Niels de Vos Date: Wed, 17 Jul 2013 12:53:53 +0000 (+0200) Subject: fuse: readdirplus: fix dentry leak X-Git-Tag: v3.11-rc3~27^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53ce9a3364de0723b27d861de93bfc882f7db050;p=pandora-kernel.git fuse: readdirplus: fix dentry leak In case d_lookup() returns a dentry with d_inode == NULL, the dentry is not returned with dput(). This results in triggering a BUG() in shrink_dcache_for_umount_subtree(): BUG: Dentry ...{i=0,n=...} still in use (1) [unmount of fuse fuse] [SzM: need to d_drop() as well] Reported-by: Justin Clift Signed-off-by: Niels de Vos Signed-off-by: Miklos Szeredi Tested-by: Brian Foster Tested-by: Niels de Vos CC: stable@vger.kernel.org --- Reading git-diff-tree failed