cifs: fix erroneous return value

commit 4b550af519 upstream.

The setup_ntlmv2_rsp() function may return positive value ENOMEM instead
of -ENOMEM in case of kmalloc failure.

Signed-off-by: Anton Protopopov <a.s.protopopov@gmail.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
This commit is contained in:
Anton Protopopov 2016-02-10 12:50:21 -05:00 • committed by Luis Henriques
commit 2d29c91c88