ion: throw a error if allocation fails

If allocation fails inside of ion fails, we can throw
this nice and shiny error message.

Furthermore simplyfied the code and get rid of goto end.

Signed-off-by: Blechd0se <alex.christ@hotmail.de>
ion: bring in strlcpy for client->name

We wont use strncpy, according to the 3.4-branch
there has to be some sort of allocation for
client->name.

Signed-off-by: Blechd0se <alex.christ@hotmail.de>
ion: fix memory leak and race condition

Previous commit introduced a memory leak.
kfree(client->name) takes care of that.

Otherwise fix a race condition if there are two
threads in one client and both try to link to the
same handle.

Signed-off-by: Blechd0se <alex.christ@hotmail.de>
Merge branch 'AeroKernel' into martincz