diff options
author | Paulo Alcantara <pc@cjr.nz> | 2022-12-19 14:21:50 +0100 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2022-12-19 15:04:41 +0100 |
commit | f60ffa662d1427cfd31fe9d895c3566ac50bfe52 (patch) | |
tree | 01f9985cb8d4934c809c18c7a1dbe23594aa7157 /drivers/mfd/tps65090.c | |
parent | cifs: use origin fullpath for automounts (diff) | |
download | linux-f60ffa662d1427cfd31fe9d895c3566ac50bfe52.tar.xz linux-f60ffa662d1427cfd31fe9d895c3566ac50bfe52.zip |
cifs: don't leak -ENOMEM in smb2_open_file()
A NULL error response might be a valid case where smb2_reconnect()
failed to reconnect the session and tcon due to a disconnected server
prior to issuing the I/O operation, so don't leak -ENOMEM to userspace
on such occasions.
Fixes: 76894f3e2f71 ("cifs: improve symlink handling for smb2+")
Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'drivers/mfd/tps65090.c')
0 files changed, 0 insertions, 0 deletions