Don't ignore errors on encrypting password in SMBTcon
authorSteve French <smfrench@gmail.com>
Fri, 27 Mar 2015 00:23:20 +0000 (19:23 -0500)
committerSteve French <smfrench@gmail.com>
Wed, 1 Apr 2015 05:01:46 +0000 (00:01 -0500)
commitf3a31a2bbbfe22db0313a4e270c7ba91baa7b630
tree13b3fcfd35466602e87ecea7c9ff73099ce47852
parent75fdfc849ae0636853add4b7dbdc5753160ad0cb
Don't ignore errors on encrypting password in SMBTcon

Although unlikely to fail (and tree connect does not commonly send
a password since SECMODE_USER is the default for most servers)
do not ignore errors on SMBNTEncrypt in SMB Tree Connect.

Reported by Coverity (CID 1226853)

Signed-off-by: Steve French <smfrench@gmail.com>
Acked-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com>
Acked-by: Sachin Prabhu <sprabhu@redhat.com>
Reviewed-by: Jeff Layton <jlayton@poochiereds.net>
fs/cifs/connect.c