commit | 1418bf076d08edd47a610ea3844c6f6012949a51 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue Jan 26 12:24:44 2016 +0300 |
committer | Ilya Dryomov <idryomov@gmail.com> | Thu Feb 04 18:25:08 2016 +0100 |
tree | 94adc36a2fbc50aa8bdd82c2e8f4c89f696b6c91 | |
parent | 36f90b0a2ddd60823fe193a85e60ff1906c2a9b3 [diff] |
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 <dan.carpenter@oracle.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>