diff options
| author | Shyam Prasad N <[email protected]> | 2023-07-14 08:56:34 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2023-07-14 16:24:14 +0000 |
| commit | c071b34f62ddbf8435491ebb0e21eba9dc29f901 (patch) | |
| tree | 81e24b9dc33dd34779fbf94713bb75b9dfa1fe41 /drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c | |
| parent | smb: client: fix missed ses refcounting (diff) | |
| download | kernel-c071b34f62ddbf8435491ebb0e21eba9dc29f901.tar.gz kernel-c071b34f62ddbf8435491ebb0e21eba9dc29f901.zip | |
cifs: is_network_name_deleted should return a bool
Currently, is_network_name_deleted and it's implementations
do not return anything if the network name did get deleted.
So the function doesn't fully achieve what it advertizes.
Changed the function to return a bool instead. It will now
return true if the error returned is STATUS_NETWORK_NAME_DELETED
and the share (tree id) was found to be connected. It returns
false otherwise.
Signed-off-by: Shyam Prasad N <[email protected]>
Acked-by: Paulo Alcantara (SUSE) <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c')
0 files changed, 0 insertions, 0 deletions
