diff options
| author | Dan Carpenter <[email protected]> | 2016-01-26 09:24:44 +0000 |
|---|---|---|
| committer | Ilya Dryomov <[email protected]> | 2016-02-04 17:25:08 +0000 |
| commit | 1418bf076d08edd47a610ea3844c6f6012949a51 (patch) | |
| tree | 94adc36a2fbc50aa8bdd82c2e8f4c89f696b6c91 /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c | |
| parent | Linux 4.5-rc2 (diff) | |
| download | kernel-1418bf076d08edd47a610ea3844c6f6012949a51.tar.gz kernel-1418bf076d08edd47a610ea3844c6f6012949a51.zip | |
ceph: checking for IS_ERR instead of NULL
ceph_osdc_alloc_request() returns NULL on error, it never returns error
pointers.
Fixes: 5be0389dac66 ('ceph: re-send AIO write request when getting -EOLDSNAP error')
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_test.c')
0 files changed, 0 insertions, 0 deletions
