diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2010-12-17 07:41:48 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-01-12 20:02:44 -0500 |
commit | d93e34faf924bd98f158712d63085662e648e389 (patch) | |
tree | aeff9b974f175497dfb1849cc9647dae5ae6546f | |
parent | 94b77bd86f8ad458fa7870def78ec3a8a7caa986 (diff) | |
download | linux-3.10-d93e34faf924bd98f158712d63085662e648e389.tar.gz linux-3.10-d93e34faf924bd98f158712d63085662e648e389.tar.bz2 linux-3.10-d93e34faf924bd98f158712d63085662e648e389.zip |
pohmelfs: double-free and leak
wrong dentry dropped...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-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 9279897ff16..b2e91862208 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); |