]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
libceph: create_singlethread_workqueue() doesn't return ERR_PTRs
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 15 Aug 2013 05:58:59 +0000 (08:58 +0300)
committerSage Weil <sage@inktank.com>
Tue, 27 Aug 2013 19:26:31 +0000 (12:26 -0700)
commitdbcae088fa660086bde6e10d63bb3c9264832d85
tree7e79f60b71b7f826c39ba1f42ee4c00e4e1e7877
parentb72e19b9225d4297a18715b0998093d843d170fa
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>
net/ceph/osd_client.c