diff options
| author | Paulo Alcantara <[email protected]> | 2021-03-08 15:00:49 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2021-03-09 03:23:11 +0000 |
| commit | 14302ee3301b3a77b331cc14efb95bf7184c73cc (patch) | |
| tree | 402ef29318ff282d8b4dab20545090bfd5546396 /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c | |
| parent | cifs: change noisy error message to FYI (diff) | |
| download | kernel-14302ee3301b3a77b331cc14efb95bf7184c73cc.tar.gz kernel-14302ee3301b3a77b331cc14efb95bf7184c73cc.zip | |
cifs: return proper error code in statfs(2)
In cifs_statfs(), if server->ops->queryfs is not NULL, then we should
use its return value rather than always returning 0. Instead, use rc
variable as it is properly set to 0 in case there is no
server->ops->queryfs.
Signed-off-by: Paulo Alcantara (SUSE) <[email protected]>
Reviewed-by: Aurelien Aptel <[email protected]>
Reviewed-by: Ronnie Sahlberg <[email protected]>
CC: <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_test.c')
0 files changed, 0 insertions, 0 deletions
