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)
committerSteve French <stfrench@microsoft.com>
Tue, 7 Aug 2018 19:15:41 +0000 (14:15 -0500)
commit256b4c3f03d77d8c0dc69e3a6ceb3afd0d1810bd
treeee65d89cea749d80205b685b213621d75d2fb90d
parent7420451f6a109f7f8f1bf283f34d08eba3259fb3
CIFS: fix memory leak and remove dead code

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>
fs/cifs/smb2pdu.c