commit | dbcae088fa660086bde6e10d63bb3c9264832d85 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Aug 15 08:58:59 2013 +0300 |
committer | Sage Weil <sage@inktank.com> | Tue Aug 27 12:26:31 2013 -0700 |
tree | 7e79f60b71b7f826c39ba1f42ee4c00e4e1e7877 | |
parent | b72e19b9225d4297a18715b0998093d843d170fa [diff] |
libceph: create_singlethread_workqueue() doesn't return ERR_PTRs create_singlethread_workqueue() returns NULL on error, and it doesn't return ERR_PTRs. I tweaked the error handling a little to be consistent with earlier in the function. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Sage Weil <sage@inktank.com>