diff options
author | Ding Hui <dinghui@sangfor.com.cn> | 2021-08-17 22:55:10 +0800 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2021-08-25 15:42:18 -0500 |
commit | d72c74197b70bc3c95152f351a568007bffa3e11 (patch) | |
tree | bbf41fc84cefc3adeadcf0ad38d0693c78675209 /tools/perf/scripts/python/stackcollapse.py | |
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 <dinghui@sangfor.com.cn>
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions