ceph: checking for IS_ERR instead of NULL