OSDN Git Service

CIFS: fix memory leak and remove dead code
authorAurelien Aptel <aaptel@suse.com>
Tue, 19 Jun 2018 22:18:48 +0000 (15:18 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Sep 2018 07:46:53 +0000 (09:46 +0200)
commit31bd39126330030389dbe246060c9ce94a5ad7b3
tree2659b8d30086d89648d9cf2c9063fe02c4855a42
parentb91052f950551a4df2447483862f0dbca72d226f
CIFS: fix memory leak and remove dead code

[ Upstream commit 256b4c3f03d77d8c0dc69e3a6ceb3afd0d1810bd ]

also fixes error code in smb311_posix_mkdir() (where
the error assignment needs to go before the goto)
a typo that Dan Carpenter and Paulo and Gustavo
pointed out.

Signed-off-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Reviewed-by: Paulo Alcantara <palcantara@suse.de>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/cifs/smb2pdu.c