diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2024-11-20 20:18:31 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2024-11-21 19:43:23 +0300 |
commit | 7a2158b73c36903e8822dae5442c27d6d0e1014b (patch) | |
tree | 8d076d7543fd818eeb8984ca16f67afe3b64acf0 /tools/perf/scripts/python/gecko.py | |
parent | d413eabff18d640031fc955d107ad9c03c3bf9f1 (diff) | |
download | linux-7a2158b73c36903e8822dae5442c27d6d0e1014b.tar.xz |
smb/client: Prevent error pointer dereference
The cifs_sb_tlink() function can return error pointers, but this code
dereferences it before checking for error pointers. Re-order the code
to fix that.
Fixes: 0f9b6b045bb2 ("fs/smb/client: implement chmod() for SMB3 POSIX Extensions")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Bharath SM <bharathsm@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions