diff options
author | Ding Hui <[email protected]> | 2021-08-17 22:55:10 +0800 |
---|---|---|
committer | Steve French <[email protected]> | 2021-08-25 15:42:18 -0500 |
commit | d72c74197b70bc3c95152f351a568007bffa3e11 (patch) | |
tree | bbf41fc84cefc3adeadcf0ad38d0693c78675209 /drivers/fpga/fpga-bridge.c | |
parent | f980d055a0f858d73d9467bb0b570721bbfcdfb8 (diff) |
cifs: fix wrong release in sess_alloc_buffer() failed path
smb_buf is allocated by small_smb_init_no_tc(), and buf type is
CIFS_SMALL_BUFFER, so we should use cifs_small_buf_release() to
release it in failed path.
Signed-off-by: Ding Hui <[email protected]>
Reviewed-by: Paulo Alcantara (SUSE) <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions