diff options
author | Niels de Vos <ndevos@redhat.com> | 2013-07-17 12:53:53 (GMT) |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2013-07-17 12:53:53 (GMT) |
commit | 53ce9a3364de0723b27d861de93bfc882f7db050 (patch) | |
tree | 0e8d69c9544fd3c55d9c8bf198485abd07e26f1a /fs/Makefile | |
parent | ad81f0545ef01ea651886dddac4bef6cec930092 (diff) | |
download | linux-53ce9a3364de0723b27d861de93bfc882f7db050.tar.xz |
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 <jclift@redhat.com>
Signed-off-by: Niels de Vos <ndevos@redhat.com>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Tested-by: Brian Foster <bfoster@redhat.com>
Tested-by: Niels de Vos <ndevos@redhat.com>
CC: stable@vger.kernel.org
Diffstat (limited to 'fs/Makefile')
0 files changed, 0 insertions, 0 deletions