diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2010-12-17 12:41:48 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-01-13 01:02:44 (GMT) |
commit | d93e34faf924bd98f158712d63085662e648e389 (patch) | |
tree | aeff9b974f175497dfb1849cc9647dae5ae6546f /drivers/staging | |
parent | 94b77bd86f8ad458fa7870def78ec3a8a7caa986 (diff) | |
download | linux-fsl-qoriq-d93e34faf924bd98f158712d63085662e648e389.tar.xz |
pohmelfs: double-free and leak
wrong dentry dropped...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/pohmelfs/net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/pohmelfs/net.c b/drivers/staging/pohmelfs/net.c index 9279897..b2e9186 100644 --- a/drivers/staging/pohmelfs/net.c +++ b/drivers/staging/pohmelfs/net.c @@ -413,7 +413,7 @@ static int pohmelfs_readdir_response(struct netfs_state *st) if (dentry) { alias = d_materialise_unique(dentry, &npi->vfs_inode); if (alias) - dput(dentry); + dput(alias); } dput(dentry); |